mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
Wallet: Fix printing the same transaction twice when two pending transactions double spend each other are seen.
This commit is contained in:
@@ -2069,7 +2069,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
|
||||
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.
|
||||
|
Reference in New Issue
Block a user