We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c04f2b commit 4fbafe5Copy full SHA for 4fbafe5
src/testutils/blockchain_tests.rs
@@ -875,7 +875,7 @@ macro_rules! bdk_blockchain_tests {
875
let tx = psbt.extract_tx();
876
let serialized_tx = bitcoin::consensus::encode::serialize(&tx);
877
assert!(serialized_tx.windows(data.len()).any(|e| e==data), "cannot find op_return data in transaction");
878
- let sent_txid = wallet.broadcast(tx).unwrap();
+ let sent_txid = wallet.broadcast(&tx).unwrap();
879
test_client.generate(1, Some(node_addr));
880
wallet.sync(noop_progress(), None).unwrap();
881
assert_eq!(wallet.get_balance().unwrap(), 50_000 - details.fee.unwrap_or(0), "incorrect balance after send");
0 commit comments