diff --git a/gui/src/main/java/io/bitsquare/gui/main/MainViewModel.java b/gui/src/main/java/io/bitsquare/gui/main/MainViewModel.java index 1b629ba77b..e742680ced 100644 --- a/gui/src/main/java/io/bitsquare/gui/main/MainViewModel.java +++ b/gui/src/main/java/io/bitsquare/gui/main/MainViewModel.java @@ -153,7 +153,7 @@ class MainViewModel implements ViewModel { }); setBitcoinNetworkSyncProgress(walletService.downloadPercentageProperty().get()); - walletService.numPeersProperty().addListener((observable, oldValue, newValue) -> { + walletServic.numPeersProperty().addListener((observable, oldValue, newValue) -> { numBTCPeers.set(String.valueOf(newValue) + " peers"); if ((int) newValue < 1) { walletServiceErrorMsg.set("We lost connection to the last peer.");