diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-09-15 16:23:56 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-09-15 16:23:56 -0500 |
| commit | 0be63cffa80a66a2b76c77025b2637edb47ac571 (patch) | |
| tree | 75db44fd75f9a7e037ed2325c91e5f0087258991 /src/wallet/wallet_errors.h | |
| parent | af4f97bf66282bb2af25b5577d9bcba4d00b00b0 (diff) | |
| parent | 864a78ee5f5db4619c093e0dfb26bd03735d9fb1 (diff) | |
| download | monzero-core-0be63cffa80a66a2b76c77025b2637edb47ac571.tar.gz monzero-core-0be63cffa80a66a2b76c77025b2637edb47ac571.tar.xz monzero-core-0be63cffa80a66a2b76c77025b2637edb47ac571.zip | |
Merge pull request #8544
864a78e 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.h | 10 |
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) |
