Skip to content

Commit

Permalink
Merge pull request #9614
Browse files Browse the repository at this point in the history
20a1c00 wallet: report exact reason for open_wallet failure. (0xFFFC0000)
  • Loading branch information
luigi1111 committed Dec 23, 2024
2 parents d0ba44c + 20a1c00 commit 773cb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet_rpc_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3466,7 +3466,7 @@ namespace tools
if (!wal)
{
er.code = WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR;
er.message = "Failed to open wallet";
er.message = "Failed to open wallet : " + (!er.message.empty() ? er.message : "Unknown.");
return false;
}

Expand Down

0 comments on commit 773cb9d

Please sign in to comment.