From a251c88537498648ad80cc3f101d67f3a52e0545 Mon Sep 17 00:00:00 2001 From: "crypro.zoidberg" Date: Tue, 30 Apr 2019 19:21:59 +0200 Subject: [PATCH] fix of wrong serialization rule --- src/wallet/wallet2.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 14812f80..f1815ba3 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -616,8 +616,11 @@ namespace tools a & m_multisig_transfers; a & m_key_images; - if(ver >= 144) //reset unconfirmed due to "coinbase relay bug" - a & m_unconfirmed_txs; + a & m_unconfirmed_txs; + if (ver < 144) //reset unconfirmed due to "coinbase relay bug" + { + m_unconfirmed_txs.clear(); + } a & m_unconfirmed_multisig_transfers; a & m_payments;