mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-22 22:51:02 -04: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.");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue