mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 07:24:19 -04:00
Add RPC error code for non-deterministic wallet
This commit is contained in:
parent
5c85da5a73
commit
ade369f96f
2 changed files with 2 additions and 0 deletions
|
@ -1577,6 +1577,7 @@ namespace tools
|
|||
epee::wipeable_string seed;
|
||||
if (!m_wallet->get_seed(seed))
|
||||
{
|
||||
er.code = WALLET_RPC_ERROR_CODE_NON_DETERMINISTIC;
|
||||
er.message = "The wallet is non-deterministic. Cannot display seed.";
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue