mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #550
8c93608
wallet: fix load/save versioning bug for recently added tx data (moneromooo-monero)
This commit is contained in:
commit
c41f785d56
1 changed files with 5 additions and 2 deletions
|
@ -409,6 +409,9 @@ namespace tools
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
BOOST_CLASS_VERSION(tools::wallet2, 10)
|
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
|
namespace boost
|
||||||
{
|
{
|
||||||
|
@ -431,7 +434,7 @@ namespace boost
|
||||||
a & x.m_change;
|
a & x.m_change;
|
||||||
a & x.m_sent_time;
|
a & x.m_sent_time;
|
||||||
a & x.m_tx;
|
a & x.m_tx;
|
||||||
if (ver < 9)
|
if (ver < 1)
|
||||||
return;
|
return;
|
||||||
a & x.m_dests;
|
a & x.m_dests;
|
||||||
a & x.m_payment_id;
|
a & x.m_payment_id;
|
||||||
|
@ -444,7 +447,7 @@ namespace boost
|
||||||
a & x.m_amount_out;
|
a & x.m_amount_out;
|
||||||
a & x.m_change;
|
a & x.m_change;
|
||||||
a & x.m_block_height;
|
a & x.m_block_height;
|
||||||
if (ver < 9)
|
if (ver < 1)
|
||||||
return;
|
return;
|
||||||
a & x.m_dests;
|
a & x.m_dests;
|
||||||
a & x.m_payment_id;
|
a & x.m_payment_id;
|
||||||
|
|
Loading…
Reference in a new issue