diff --git a/bitcoin/src/merkle_tree.rs b/bitcoin/src/merkle_tree/mod.rs similarity index 96% rename from bitcoin/src/merkle_tree.rs rename to bitcoin/src/merkle_tree/mod.rs index a9cfb385..dfcb2cd2 100644 --- a/bitcoin/src/merkle_tree.rs +++ b/bitcoin/src/merkle_tree/mod.rs @@ -117,7 +117,7 @@ mod tests { #[test] fn both_merkle_root_functions_return_the_same_result() { // testnet block 000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b - let segwit_block = include_bytes!("../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw"); + let segwit_block = include_bytes!("../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw"); let block: Block = deserialize(&segwit_block[..]).expect("Failed to deserialize block"); assert!(block.check_merkle_root()); // Sanity check.