simplewallet: fix --restore-from-height being ignored

This commit is contained in:
moneromooo-monero 2017-09-29 19:06:14 +01:00
parent 5f7cddeb53
commit bf2d911365
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 1 deletions

View File

@ -1398,8 +1398,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
{