Add missing bootstrap flag check

This commit is contained in:
Manfred Karrer 2016-03-18 01:31:46 +01:00
parent 47c00e77d6
commit 0731ab3bb3

View file

@ -168,12 +168,16 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
disputeDirectMessageListListener = c -> scrollToBottom(); disputeDirectMessageListListener = c -> scrollToBottom();
p2PService.addP2PServiceListener(new BootstrapListener() { if (!p2PService.isBootstrapped()) {
@Override p2PService.addP2PServiceListener(new BootstrapListener() {
public void onBootstrapComplete() { @Override
isBootstrapped = true; public void onBootstrapComplete() {
} isBootstrapped = true;
}); }
});
} else {
isBootstrapped = true;
}
} }
@Override @Override