Skip to content

Commit 24938bf

Browse files
Add changes to test
1 parent 3c99d82 commit 24938bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/electrum/tests/test_electrum_scanning.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ fn test_reorg() -> Result<()> {
116116
let full_txout = keychain_scan.update.full_txout(bdk_chain::bitcoin::OutPoint { txid: tx.txid(), vout: output_vout as u32 });
117117
assert_eq!(full_txout.unwrap().txout.value, 10000);
118118

119+
assert_eq!(miner_node.client.get_best_block_hash().unwrap(), bitcoin_daemon.client.get_best_block_hash().unwrap());
120+
119121
// Reorg blocks on miner chain
120122
reorg(3, &miner_node)?;
121123
// Generate more blocks on the miner node, thereby making it the chain with the most

0 commit comments

Comments
 (0)