diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-22 10:26:58 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-22 10:27:44 +0200 |
commit | c41f785d56e254780d15ad2bea2c170d371985b7 (patch) | |
tree | 2ba8f80b2c19139786a918aea5c627402fe63fcb /src/wallet/wallet2.h | |
parent | Merge pull request #549 (diff) | |
parent | wallet: fix load/save versioning bug for recently added tx data (diff) | |
download | monero-c41f785d56e254780d15ad2bea2c170d371985b7.tar.xz |
Merge pull request #550
8c93608 wallet: fix load/save versioning bug for recently added tx data (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 74840c5ec..adb7b13e2 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -409,6 +409,9 @@ namespace tools }; } BOOST_CLASS_VERSION(tools::wallet2, 10) +BOOST_CLASS_VERSION(tools::wallet2::payment_details, 0) +BOOST_CLASS_VERSION(tools::wallet2::unconfirmed_transfer_details, 1) +BOOST_CLASS_VERSION(tools::wallet2::confirmed_transfer_details, 1) namespace boost { @@ -431,7 +434,7 @@ namespace boost a & x.m_change; a & x.m_sent_time; a & x.m_tx; - if (ver < 9) + if (ver < 1) return; a & x.m_dests; a & x.m_payment_id; @@ -444,7 +447,7 @@ namespace boost a & x.m_amount_out; a & x.m_change; a & x.m_block_height; - if (ver < 9) + if (ver < 1) return; a & x.m_dests; a & x.m_payment_id; |