diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-11-01 22:33:20 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-11-01 22:33:20 +0200 |
commit | 3ceeac50da5c900e00ee99c88800da415315b41b (patch) | |
tree | 05b46eb302b504a1c3c83ed92e69c75691f3539f /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #4648 (diff) | |
parent | Add RPC error code for non-deterministic wallet (diff) | |
download | monero-3ceeac50da5c900e00ee99c88800da415315b41b.tar.xz |
Merge pull request #4653
ade369f9 Add RPC error code for non-deterministic wallet (Michał Sałaban)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 6dbea2e14..5e6100dfd 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1744,6 +1744,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; } |