aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/message_store.h
diff options
context:
space:
mode:
authorkoe <ukoe@protonmail.com>2021-08-11 07:35:43 -0500
committerkoe <ukoe@protonmail.com>2023-02-28 12:54:40 -0600
commit8d94d088166ec051b886857a5e16b08a7ca5bf00 (patch)
tree1a34d6eb6e9a822bf8fc8617c71918cf8fef213a /src/wallet/message_store.h
parentMerge pull request #8737 (diff)
downloadmonero-8d94d088166ec051b886857a5e16b08a7ca5bf00.tar.xz
replace 'multisig()' with 'get_multisig_status()' using multisig_account_status and including '.kex_is_done' member
Diffstat (limited to 'src/wallet/message_store.h')
-rw-r--r--src/wallet/message_store.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wallet/message_store.h b/src/wallet/message_store.h
index c5421a702..17f8fb698 100644
--- a/src/wallet/message_store.h
+++ b/src/wallet/message_store.h
@@ -245,18 +245,23 @@ namespace mms
crypto::secret_key view_secret_key;
bool multisig;
bool multisig_is_ready;
+ bool multisig_kex_is_done;
bool has_multisig_partial_key_images;
uint32_t multisig_rounds_passed;
size_t num_transfer_details;
std::string mms_file;
BEGIN_SERIALIZE_OBJECT()
- VERSION_FIELD(0)
+ VERSION_FIELD(1)
FIELD(address)
VARINT_FIELD(nettype)
FIELD(view_secret_key)
FIELD(multisig)
FIELD(multisig_is_ready)
+ if (version > 0)
+ FIELD(multisig_kex_is_done)
+ else
+ multisig_kex_is_done = multisig_is_ready;
FIELD(has_multisig_partial_key_images)
VARINT_FIELD(multisig_rounds_passed)
VARINT_FIELD(num_transfer_details)