mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge c985a34b9c into merged_master (Bitcoin PR bitcoin/bitcoin#26990)
This commit is contained in:
commit
1e831942a6
4 changed files with 15 additions and 5 deletions
|
|
@ -959,7 +959,8 @@ static void ParseError(const UniValue& error, std::string& strPrint, int& nRet)
|
|||
strPrint += ("error message:\n" + err_msg.get_str());
|
||||
}
|
||||
if (err_code.isNum() && err_code.getInt<int>() == RPC_WALLET_NOT_SPECIFIED) {
|
||||
strPrint += "\nTry adding \"-rpcwallet=<filename>\" option to elements-cli command line.";
|
||||
strPrint += " Or for the CLI, specify the \"-rpcwallet=<walletname>\" option before the command";
|
||||
strPrint += " (run \"elements-cli -h\" for help or \"elements-cli listwallets\" to see which wallets are currently loaded).";
|
||||
}
|
||||
} else {
|
||||
strPrint = "error: " + error.write();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue