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:
parent
a893bdd603
commit
26823d1bf7
@ -173,7 +173,7 @@ public abstract class AbstractBlockChain {
|
||||
* Adds a generic {@link BlockChainListener} listener to the chain.
|
||||
*/
|
||||
public void addListener(BlockChainListener listener) {
|
||||
addListener(listener, Threading.SAME_THREAD);
|
||||
addListener(listener, Threading.USER_THREAD);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user