From 2333c446571d1884e198d69911462c48703ec721 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Thu, 7 Mar 2013 18:43:15 +0100 Subject: [PATCH] Add a comment. --- core/src/main/java/com/google/bitcoin/core/Wallet.java | 1 + 1 file changed, 1 insertion(+) 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 5edeaac2..fb6452af 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -301,6 +301,7 @@ public class Wallet implements Serializable, BlockChainListener { txConfidenceListener = new TransactionConfidence.Listener() { public void onConfidenceChanged(Transaction tx) { lock.lock(); + // The invokers unlock us immediately so if an exception is thrown, the lock will be already open. invokeOnTransactionConfidenceChanged(tx); // Many onWalletChanged events will not occur because they are suppressed, eg, because: // - we are inside a re-org