Skip to content

Commit c6bdbe6

Browse files
committed
Merge rust-bitcoin#5033: docs: replace CMerkleBlock with MerkleBlock in test documentation
c7efdef docs: replace CMerkleBlock with MerkleBlock in test documentation (Forostovec) Pull request description: Looks like 'CMerkleBlock' is a C++ class name and correct here is 'MerkleBlock' ? ACKs for top commit: apoelstra: ACK c7efdef; successfully ran local tests Tree-SHA512: 860de4b5e6db9ec85f953d4997308bc8a2f9511a647bf9c1f2c4d49024f38cccce4cb50e21d46e48a5102e0638edbee7cea7f409ced2a3d702c756521bd1c039
2 parents 8c72d46 + c7efdef commit c6bdbe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bitcoin/src/merkle_tree/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ mod tests {
681681
assert_eq!(mb_hex, encode::serialize(&mb).to_lower_hex_string().as_str());
682682
}
683683

684-
/// Constructs a new CMerkleBlock using a list of txids which will be found in the
684+
/// Constructs a new MerkleBlock using a list of txids which will be found in the
685685
/// given block.
686686
#[test]
687687
fn merkleblock_construct_from_txids_found() {
@@ -720,7 +720,7 @@ mod tests {
720720
assert_eq!(index[1], 8);
721721
}
722722

723-
/// Constructs a new CMerkleBlock using a list of txids which will not be found in the given block
723+
/// Constructs a new MerkleBlock using a list of txids which will not be found in the given block
724724
#[test]
725725
fn merkleblock_construct_from_txids_not_found() {
726726
let block = get_block_13b8a();

0 commit comments

Comments
 (0)