mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 10:15:52 +00:00
Fix Wallet.checkForDoubleSpendAgainstPending() JavaDoc. It returns a boolean.
This commit is contained in:
parent
ffaf18fa94
commit
b9dd0a5417
@ -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
|
||||
* 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) {
|
||||
checkState(lock.isHeldByCurrentThread());
|
||||
|
Loading…
x
Reference in New Issue
Block a user