mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Add missing bootstrap flag check
This commit is contained in:
parent
47c00e77d6
commit
0731ab3bb3
1 changed files with 10 additions and 6 deletions
|
@ -168,12 +168,16 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
|
|||
|
||||
disputeDirectMessageListListener = c -> scrollToBottom();
|
||||
|
||||
p2PService.addP2PServiceListener(new BootstrapListener() {
|
||||
@Override
|
||||
public void onBootstrapComplete() {
|
||||
isBootstrapped = true;
|
||||
}
|
||||
});
|
||||
if (!p2PService.isBootstrapped()) {
|
||||
p2PService.addP2PServiceListener(new BootstrapListener() {
|
||||
@Override
|
||||
public void onBootstrapComplete() {
|
||||
isBootstrapped = true;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
isBootstrapped = true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue