Skip to content

Commit

Permalink
Correct the default thread used by AbstractBlockChain.addListener()
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehearn committed May 6, 2014
1 parent a893bdd commit 26823d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void removeWallet(Wallet wallet) {
* Adds a generic {@link BlockChainListener} listener to the chain.
*/
public void addListener(BlockChainListener listener) {
addListener(listener, Threading.SAME_THREAD);
addListener(listener, Threading.USER_THREAD);
}

/**
Expand Down

0 comments on commit 26823d1

Please sign in to comment.