Merge pull request #550

8c93608 wallet: fix load/save versioning bug for recently added tx data (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2015-12-22 10:26:58 +02:00
commit c41f785d56
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 5 additions and 2 deletions

View File

@ -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;