Browse Source

fix prev commit

terminal
Craig Raw 4 years ago
parent
commit
6d434722cc
  1. 2
      src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java
  2. 2
      src/main/java/com/sparrowwallet/sparrow/preferences/ServerPreferencesController.java

2
src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java

@ -945,7 +945,7 @@ public class ElectrumServer {
}
}
throw new ServerException("Check if Bitcoin Core is running in server mode, and the authentication details are correct.\n\nSee https://sparrowwallet.com/docs/connect-node.html");
throw new ServerException("Check if Bitcoin Core is running, and the authentication details are correct.");
}
} catch(InterruptedException e) {
Thread.currentThread().interrupt();

2
src/main/java/com/sparrowwallet/sparrow/preferences/ServerPreferencesController.java

@ -573,6 +573,8 @@ public class ServerPreferencesController extends PreferencesDetailController {
reason += ". Check if the proxy server is running.";
} else if(exception instanceof TorServerAlreadyBoundException) {
reason += "\nIs a Tor proxy already running on port " + TorService.PROXY_PORT + "?";
} else if(reason != null && reason.contains("Check if Bitcoin Core is running")) {
reason += "\n\nSee https://sparrowwallet.com/docs/connect-node.html";
}
testResults.setText("Could not connect:\n\n" + reason);

Loading…
Cancel
Save