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-22 16:15:01 -0600
commit70c5c8167037db9211147de32a6b9bee922de653 (patch)
treed7f059cfb5ac9c8e82ded33caae9b13d9433eb77 /src/simplewallet
parentMerge pull request #7657 (diff)
downloadmonero-70c5c8167037db9211147de32a6b9bee922de653.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 9f4fabc02..81c18352f 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -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);
}