fix prev commit

This commit is contained in:
Craig Raw 2021-06-24 12:41:32 +02:00
parent c8a4ed0c3d
commit 6d434722cc
2 changed files with 3 additions and 1 deletions

View file

@ -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();

View file

@ -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);