mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-28 17:34:11 -04:00
Fix Bootstrapnode performance bug
This commit is contained in:
parent
232270bf86
commit
c4d56d43f4
2 changed files with 8 additions and 8 deletions
|
@ -28,7 +28,6 @@ import org.bitcoinj.core.TransactionConfidence;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
// TODO should be removed
|
||||
public class SetupListenerForBlockChainConfirmation extends Task<BuyerAsOffererModel> {
|
||||
private static final Logger log = LoggerFactory.getLogger(SetupListenerForBlockChainConfirmation.class);
|
||||
|
||||
|
@ -47,8 +46,8 @@ public class SetupListenerForBlockChainConfirmation extends Task<BuyerAsOffererM
|
|||
|
||||
model.getTrade().setState(Trade.State.DEPOSIT_CONFIRMED);
|
||||
|
||||
//TODO not sure if that works
|
||||
confidence.removeEventListener(this);
|
||||
boolean removed = confidence.removeEventListener(this);
|
||||
log.debug("listener removed? "+removed);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue