diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-08-07 14:56:59 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-08-16 14:22:24 +0000 |
commit | d9fc666db8934f7669133807ea0bec96eef27105 (patch) | |
tree | 683d231961955082d2e6e475cd338b88c347e833 /src/wallet/wallet2.h | |
parent | Merge pull request #8435 (diff) | |
download | monero-d9fc666db8934f7669133807ea0bec96eef27105.tar.xz |
wallet2: fix missing subaddress indices in "light" exported outputs
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 16e898ad8..6598dea10 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -401,9 +401,11 @@ private: } m_flags; uint64_t m_amount; std::vector<crypto::public_key> m_additional_tx_keys; + uint32_t m_subaddr_index_major; + uint32_t m_subaddr_index_minor; BEGIN_SERIALIZE_OBJECT() - VERSION_FIELD(0) + VERSION_FIELD(1) FIELD(m_pubkey) VARINT_FIELD(m_internal_output_index) VARINT_FIELD(m_global_output_index) @@ -411,6 +413,8 @@ private: FIELD(m_flags.flags) VARINT_FIELD(m_amount) FIELD(m_additional_tx_keys) + VARINT_FIELD(m_subaddr_index_major) + VARINT_FIELD(m_subaddr_index_minor) END_SERIALIZE() }; |