wallet2: Fix rescan_bc keep_ki option

This commit is contained in:
Nathan Dorfman
2021-04-22 12:04:56 -06:00
parent 0a1ddc2eff
commit c57ef7f807
3 changed files with 28 additions and 23 deletions

View File

@@ -5895,7 +5895,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);
}