From b9dd0a54174b0e094bdc277ee8e71fe21163df04 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Mon, 9 Jun 2014 19:15:06 +0200 Subject: [PATCH] Fix Wallet.checkForDoubleSpendAgainstPending() JavaDoc. It returns a boolean. --- core/src/main/java/com/google/bitcoin/core/Wallet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/bitcoin/core/Wallet.java b/core/src/main/java/com/google/bitcoin/core/Wallet.java index 6ba78937..863f4428 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -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());