mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Deactivate error when connection to P2P network drops
This commit is contained in:
parent
04b41237bb
commit
6ce72f28d4
1 changed files with 3 additions and 2 deletions
|
@ -164,7 +164,8 @@ class MainViewModel implements ViewModel {
|
|||
clientNode.numPeersProperty().addListener((observable, oldValue, newValue) -> {
|
||||
numDHTPeers.set(String.valueOf(newValue) + " peers");
|
||||
if ((int) newValue < 1) {
|
||||
bootstrapErrorMsg.set("We lost connection to the last peer.");
|
||||
// TODO swallow connection drops for a certain time.
|
||||
// bootstrapErrorMsg.set("We lost connection to the last peer.");
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -358,7 +359,7 @@ class MainViewModel implements ViewModel {
|
|||
else if (value > 0.0) {
|
||||
// We stop as soon the download started the timeout
|
||||
stopBlockchainSyncTimeout();
|
||||
|
||||
|
||||
blockchainSyncInfo.set("Synchronizing blockchain: " + formatter.formatToPercent(value));
|
||||
blockchainSyncInfoFooter.set("Synchronizing: " + formatter.formatToPercent(value));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue