mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
fix prev commit
This commit is contained in:
parent
c8a4ed0c3d
commit
6d434722cc
2 changed files with 3 additions and 1 deletions
|
@ -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) {
|
} catch(InterruptedException e) {
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
|
|
|
@ -573,6 +573,8 @@ public class ServerPreferencesController extends PreferencesDetailController {
|
||||||
reason += ". Check if the proxy server is running.";
|
reason += ". Check if the proxy server is running.";
|
||||||
} else if(exception instanceof TorServerAlreadyBoundException) {
|
} else if(exception instanceof TorServerAlreadyBoundException) {
|
||||||
reason += "\nIs a Tor proxy already running on port " + TorService.PROXY_PORT + "?";
|
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);
|
testResults.setText("Could not connect:\n\n" + reason);
|
||||||
|
|
Loading…
Reference in a new issue