mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
simplewallet: allow setting --restore-height 0
This commit is contained in:
parent
964ad0e51a
commit
993e9be669
1 changed files with 1 additions and 1 deletions
|
@ -4519,7 +4519,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||||
password = *r;
|
password = *r;
|
||||||
welcome = true;
|
welcome = true;
|
||||||
// if no block_height is specified, assume its a new account and start it "now"
|
// if no block_height is specified, assume its a new account and start it "now"
|
||||||
if(m_wallet->get_refresh_from_block_height() == 0) {
|
if (command_line::is_arg_defaulted(vm, arg_restore_height)) {
|
||||||
{
|
{
|
||||||
tools::scoped_message_writer wrt = tools::msg_writer();
|
tools::scoped_message_writer wrt = tools::msg_writer();
|
||||||
wrt << tr("No restore height is specified.") << " ";
|
wrt << tr("No restore height is specified.") << " ";
|
||||||
|
|
Loading…
Reference in a new issue