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

release-v0.4.0.1
moneromooo-monero 7 years ago
parent 5f7cddeb53
commit bf2d911365
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save