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

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 else
{ {