aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_errors.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-09-15 00:35:03 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-09-15 00:35:03 -0500
commitc9cfa251833856d76d5e206a4546e7fe3f71e43e (patch)
treee75d633de4dc10c3c99645e7803adf695940db53 /src/wallet/wallet_errors.h
parentMerge pull request #8551 (diff)
parentwallet2: check wallet compatibility with daemon's hard fork version (diff)
downloadmonero-c9cfa251833856d76d5e206a4546e7fe3f71e43e.tar.xz
Merge pull request #8556
b8271ab wallet2: check wallet compatibility with daemon's hard fork version (j-berman)
Diffstat (limited to 'src/wallet/wallet_errors.h')
-rw-r--r--src/wallet/wallet_errors.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h
index df594aa21..0b8512163 100644
--- a/src/wallet/wallet_errors.h
+++ b/src/wallet/wallet_errors.h
@@ -439,6 +439,16 @@ namespace tools
std::string to_string() const { return refresh_error::to_string(); }
};
//----------------------------------------------------------------------------------------------------
+ struct incorrect_fork_version : public refresh_error
+ {
+ explicit incorrect_fork_version(std::string&& loc, const std::string& message)
+ : refresh_error(std::move(loc), message)
+ {
+ }
+
+ std::string to_string() const { return refresh_error::to_string(); }
+ };
+ //----------------------------------------------------------------------------------------------------
struct signature_check_failed : public wallet_logic_error
{
explicit signature_check_failed(std::string&& loc, const std::string& message)