3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +00:00

Correct the default thread used by AbstractBlockChain.addListener()

This commit is contained in:
Mike Hearn 2014-05-06 21:44:42 +02:00
parent a893bdd603
commit 26823d1bf7

View File

@ -173,7 +173,7 @@ public abstract class AbstractBlockChain {
* Adds a generic {@link BlockChainListener} listener to the chain. * Adds a generic {@link BlockChainListener} listener to the chain.
*/ */
public void addListener(BlockChainListener listener) { public void addListener(BlockChainListener listener) {
addListener(listener, Threading.SAME_THREAD); addListener(listener, Threading.USER_THREAD);
} }
/** /**