3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-14 19:25:51 +00:00

Fix Wallet.checkForDoubleSpendAgainstPending() JavaDoc. It returns a boolean.

This commit is contained in:
Andreas Schildbach 2014-06-09 19:15:06 +02:00 committed by Mike Hearn
parent ffaf18fa94
commit b9dd0a5417

View File

@ -1229,7 +1229,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
/** /**
* Checks if "tx" is spending any inputs of pending transactions. Not a general check, but it can work even if * Checks if "tx" is spending any inputs of pending transactions. Not a general check, but it can work even if
* the double spent inputs are not ours. Returns the pending tx that was double spent or null if none found. * the double spent inputs are not ours.
*/ */
private boolean checkForDoubleSpendAgainstPending(Transaction tx, boolean takeAction) { private boolean checkForDoubleSpendAgainstPending(Transaction tx, boolean takeAction) {
checkState(lock.isHeldByCurrentThread()); checkState(lock.isHeldByCurrentThread());