aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-15 17:30:52 +0200
committerRiccardo Spagni <ric@spagni.net>2017-10-15 17:30:53 +0200
commitce1016254a11255845205023f9359ee124d72987 (patch)
tree16eefaf1f880e35f434cfaac79311cd68e59992d /src
parentMerge pull request #2538 (diff)
parentsimplewallet: fix --restore-from-height being ignored (diff)
downloadmonero-ce1016254a11255845205023f9359ee124d72987.tar.xz
Merge pull request #2549
bf2d9113 simplewallet: fix --restore-from-height being ignored (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 48739bc2d..990922743 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -1450,8 +1450,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
}
}
}
- m_wallet->set_refresh_from_block_height(m_restore_height);
}
+ if (m_restoring)
+ m_wallet->set_refresh_from_block_height(m_restore_height);
}
else
{