diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-02-16 14:19:24 +0100 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-02-16 14:19:24 +0100 |
commit | 82599ef0e36e2548721ad151a3e7c68b380ef667 (patch) | |
tree | 94e4a36ff7885e73276205eea3843319f59dc00a /src/simplewallet | |
parent | Merge pull request #3171 (diff) | |
parent | wallet-cli: Do not ask for scan_from_height if it explicitly is set to zero. (diff) | |
download | monero-82599ef0e36e2548721ad151a3e7c68b380ef667.tar.xz |
Merge pull request #3175
3be98036 wallet-cli: Do not ask for scan_from_height if it explicitly is set to zero. (Maximilian Lupke)
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index c5a4f15a4..0a57dec80 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -2474,7 +2474,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm) r = new_wallet(vm, m_recovery_key, m_restore_deterministic_wallet, m_non_deterministic, old_language); CHECK_AND_ASSERT_MES(r, false, tr("account creation failed")); } - if (!m_restore_height && m_restoring) + if (!m_wallet->explicit_refresh_from_block_height() && m_restoring) { uint32_t version; bool connected = try_connect_to_daemon(false, &version); |