diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-06-04 18:59:47 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-06-12 19:05:51 -0400 |
commit | 4f382b383005d09f6056371d0fecdc8b6ce37a08 (patch) | |
tree | af6a07f7b59bb432891ec0bf47772e3517a17c1d /src/wallet/wallet_errors.h | |
parent | added vim swap files to .gitignore (diff) | |
download | monero-4f382b383005d09f6056371d0fecdc8b6ce37a08.tar.xz |
most functions prototyped/modified for wallet recovery
Diffstat (limited to '')
-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 0d42dbaf4..71c946545 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -188,6 +188,17 @@ namespace tools std::string to_string() const { return wallet_logic_error::to_string(); } }; + + //---------------------------------------------------------------------------------------------------- + struct invalid_pregenerated_random : public wallet_logic_error + { + explicit invalid_pregenerated_random (std::string&& loc) + : wallet_logic_error(std::move(loc), "invalid pregenerated random for wallet creation/recovery") + { + } + + std::string to_string() const { return wallet_logic_error::to_string(); } + }; //---------------------------------------------------------------------------------------------------- struct refresh_error : public wallet_logic_error { |