wallet2: Fix rescan_bc keep_ki option

This commit is contained in:
Nathan Dorfman
2021-04-22 16:15:01 -06:00
parent d59cd3d222
commit 70c5c81670
3 changed files with 28 additions and 23 deletions
+1 -1
View File
@@ -5800,7 +5800,7 @@ bool simple_wallet::refresh_main(uint64_t start_height, enum ResetType reset, bo
if (reset != ResetNone)
{
if (reset == ResetSoftKeepKI)
height_pre = m_wallet->hash_m_transfers(-1, transfer_hash_pre);
height_pre = m_wallet->hash_m_transfers(boost::none, transfer_hash_pre);
m_wallet->rescan_blockchain(reset == ResetHard, false, reset == ResetSoftKeepKI);
}