Skip to content

Commit 44a6d06

Browse files
committed
Fix outbid false positives
1 parent ebe554f commit 44a6d06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: client/src/wallets.rs

+4
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,10 @@ impl RpcWallet {
684684
}
685685
}
686686

687+
res.outbid = res.outbid.into_iter()
688+
.filter(|output| !wallet.is_mine(output.spaceout.script_pubkey.clone()))
689+
.collect();
690+
687691
for wallet_output in unspent.into_iter().filter(|output| output.space.is_some()) {
688692
let entry = FullSpaceOut {
689693
txid: wallet_output.output.outpoint.txid,

0 commit comments

Comments
 (0)