3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +00:00

Wallet: don't call killTx if it has no work to do, cleans up a misleading log line.

This commit is contained in:
Mike Hearn 2013-11-21 12:59:32 +01:00
parent 434f7d003a
commit 857b34fcee

View File

@ -741,7 +741,7 @@ public class Wallet implements Serializable, BlockChainListener, PeerFilterProvi
}
}
}
if (takeAction) {
if (takeAction && !doubleSpentTxns.isEmpty()) {
killTx(tx, doubleSpentTxns);
}
return !doubleSpentTxns.isEmpty();