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-09-06 18:25:45 +0000 |
commit | 0de1571abd2a8b169e0a3c67cc5769e804b08957 (patch) | |
tree | 42d22917a7479067acbfcfbc288d6841e7cdd9b7 /src/wallet/wallet2.h | |
parent | Merge pull request #8491 (diff) | |
download | monero-0de1571abd2a8b169e0a3c67cc5769e804b08957.tar.xz |
wallet2: fix missing subaddress indices in "light" exported outputs
Diffstat (limited to '')
-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() }; |