diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-01-02 00:29:35 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-01-02 00:29:36 +0200 |
commit | eb617be8f4d3aabcc36ab561887aa9313773a05d (patch) | |
tree | 66ea57cda256cafe9b96f0629380e29538eca24e /src/wallet/wallet_errors.h | |
parent | Merge pull request #2956 (diff) | |
parent | wallet: support for multisig seeds (diff) | |
download | monero-eb617be8f4d3aabcc36ab561887aa9313773a05d.tar.xz |
Merge pull request #2960
5cbcf0aa wallet: support for multisig seeds (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_errors.h')
-rw-r--r-- | src/wallet/wallet_errors.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h index 234c22d85..023b53f28 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -60,6 +60,7 @@ namespace tools // file_save_error // invalid_password // invalid_priority + // invalid_multisig_seed // refresh_error * // acc_outs_lookup_error // block_parse_error @@ -266,6 +267,16 @@ namespace tools std::string to_string() const { return wallet_logic_error::to_string(); } }; + struct invalid_multisig_seed : public wallet_logic_error + { + explicit invalid_multisig_seed(std::string&& loc) + : wallet_logic_error(std::move(loc), "invalid multisig seed") + { + } + + std::string to_string() const { return wallet_logic_error::to_string(); } + }; + //---------------------------------------------------------------------------------------------------- struct invalid_pregenerated_random : public wallet_logic_error { |