Skip to content

Commit

Permalink
Merge pull request #9581
Browse files Browse the repository at this point in the history
33f6fa5 wallet: report exact reason for open_wallet failure. (0xFFFC0000)
  • Loading branch information
luigi1111 committed Dec 23, 2024
2 parents 5321738 + 33f6fa5 commit 869028c
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 @@ -3625,7 +3625,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 869028c

Please sign in to comment.