Skip to content

Commit 3bca09d

Browse files
committed
f Avoid double-lock of best block
1 parent 9a44f00 commit 3bca09d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sweep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ where
272272
};
273273
if should_broadcast {
274274
let output_descriptors = vec![output_info.descriptor.clone()];
275-
match self.get_spending_tx(&output_descriptors) {
275+
match self.get_spending_tx(&output_descriptors, height) {
276276
Ok(Some(spending_tx)) => {
277277
self.wallet.broadcast_transactions(&[&spending_tx]);
278278
if let Some(filter) = self.chain_source.as_ref() {

0 commit comments

Comments
 (0)