mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 22:58:32 +01:00
Wallet: Fix printing the same transaction twice when two pending transactions double spend each other are seen.
This commit is contained in:
parent
bb9c93c9b1
commit
52b9623262
1 changed files with 1 additions and 1 deletions
|
@ -2088,7 +2088,7 @@ public class Wallet extends BaseTaggableObject
|
|||
log.warn(" offending input is input {}", tx.getInputs().indexOf(input));
|
||||
log.warn("{}: {}", tx.getHash(), Utils.HEX.encode(tx.unsafeBitcoinSerialize()));
|
||||
Transaction other = output.getSpentBy().getParentTransaction();
|
||||
log.warn("{}: {}", other.getHash(), Utils.HEX.encode(tx.unsafeBitcoinSerialize()));
|
||||
log.warn("{}: {}", other.getHash(), Utils.HEX.encode(other.unsafeBitcoinSerialize()));
|
||||
}
|
||||
} else if (result == TransactionInput.ConnectionResult.SUCCESS) {
|
||||
// Otherwise we saw a transaction spend our coins, but we didn't try and spend them ourselves yet.
|
||||
|
|
Loading…
Add table
Reference in a new issue