simplewallet: fix --restore-from-height being ignored
This commit is contained in:
parent
5f7cddeb53
commit
bf2d911365
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue