aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorNathan Dorfman <ndorf@rtfm.net>2021-04-22 12:04:56 -0600
committerNathan Dorfman <ndorf@rtfm.net>2021-04-23 09:11:45 -0600
commitc57ef7f8079fea56161537deae12fc16aa5e2efe (patch)
treedece797b154019f496269781ab6dc95ce3ace2e7 /src/simplewallet
parentMerge pull request #7669 (diff)
downloadmonero-c57ef7f8079fea56161537deae12fc16aa5e2efe.tar.xz
wallet2: Fix rescan_bc keep_ki option
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index a7856d60f..e859a4693 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -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);
}