diff options
author | Howard Chu <hyc@symas.com> | 2016-04-29 15:17:12 +0100 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2016-04-29 15:33:28 +0100 |
commit | cebb97c9132f8666059980f2c140b29c30436691 (patch) | |
tree | 86d96fff8bbd9698a01b2880a8d3fc30dd6055fe /src/wallet/wallet2.h | |
parent | Make fast_refresh interruptible (diff) | |
download | monero-cebb97c9132f8666059980f2c140b29c30436691.tar.xz |
Move refresh height to keys file from cache file
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 846a86ef8..c2d387acd 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -308,6 +308,7 @@ namespace tools template <class t_archive> inline void serialize(t_archive &a, const unsigned int ver) { + uint64_t dummy_refresh_height = 0; // moved to keys file if(ver < 5) return; a & m_blockchain; @@ -328,7 +329,7 @@ namespace tools a & m_confirmed_txs; if(ver < 11) return; - a & m_refresh_from_block_height; + a & dummy_refresh_height; if(ver < 12) return; a & m_tx_notes; |