Merge #796: Trivial: fix typo in error message when mainchain daemon is unavailable

5489e602f Trivial: fix typo in error message when mainchain daemon is unavailable (Philippe McLean)

Pull request description:

Tree-SHA512: 84c00897122e67305f6147266eca92d9794662bb386fc957a2dbe92ac044db781993fe65a8f8b5d69e0aba87d40184678e535c1364210fd8c0f729b56675e731
This commit is contained in:
Steven Roose 2020-03-17 16:07:22 +00:00
commit ad27fddd1f
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87

View file

@ -1885,7 +1885,7 @@ bool AppInitMain(InitInterfaces& interfaces)
// ELEMENTS:
if (!MainchainRPCCheck(true)) { //Initial check only
const std::string err_msg = "ERROR: elements is set to verify pegins but cannot get valid response from the mainchain daemon. Please check debug.log for more information.\n\nIf you haven't setup a bitcoind please get the latest stable version from https://bitcoincore.org/en/download/ or if you do not need to validate pegins set in your elements configuration validatepegin=0";
const std::string err_msg = "ERROR: elements is set to verify pegins but cannot get a valid response from the mainchain daemon. Please check debug.log for more information.\n\nIf you haven't setup a bitcoind please get the latest stable version from https://bitcoincore.org/en/download/ or if you do not need to validate pegins set in your elements configuration validatepegin=0";
// We fail immediately if this node has RPC server enabled
if (gArgs.GetBoolArg("-server", false)) {
InitError(err_msg);