diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-07-17 05:42:30 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-07-26 02:48:15 -0400 |
commit | e526b3d34c20cd723b08252638d10a7584b697cb (patch) | |
tree | 21f1193f8cc46dd043cf4acfac0797feac5de192 /src/wallet/crypter.h | |
parent | 04d395e8327d512ae31d8e024d95e2d1e1729954 (diff) |
Fix misleading "Method not found" multiwallet errors
Raise RPC_WALLET_NOT_SPECIFIED instead of RPC_METHOD_NOT_FOUND when a required
wallet filename was not specified in an RPC call.
Also raise more specific RPC_WALLET_NOT_FOUND error instead of
RPC_INVALID_PARAMETER in case an invalid wallet was specified, for consistency.
Diffstat (limited to 'src/wallet/crypter.h')
0 files changed, 0 insertions, 0 deletions