mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 1884ce2f4c into merged_master (Bitcoin PR bitcoin/bitcoin#22937)
This commit is contained in:
commit
2b8eef42dd
45 changed files with 348 additions and 197 deletions
|
|
@ -105,7 +105,7 @@ UniValue CallMainChainRPC(const std::string& strMethod, const UniValue& params)
|
|||
if (!GetMainchainAuthCookie(&strRPCUserColonPass)) {
|
||||
throw std::runtime_error(strprintf(
|
||||
_("Could not locate mainchain RPC credentials. No authentication cookie could be found, and no mainchainrpcpassword is set in the configuration file (%s)").translated,
|
||||
GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME)).string().c_str()));
|
||||
gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME).c_str()));
|
||||
}
|
||||
} else {
|
||||
strRPCUserColonPass = gArgs.GetArg("-mainchainrpcuser", "") + ":" + gArgs.GetArg("-mainchainrpcpassword", "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue