mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:48:52 +00:00
Fixed generate-from-json bug introduced in 358e068
This commit is contained in:
parent
eb6d66e4fc
commit
265e4605ec
@ -1134,7 +1134,8 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
|||||||
else if (!m_generate_from_json.empty())
|
else if (!m_generate_from_json.empty())
|
||||||
{
|
{
|
||||||
m_wallet_file = m_generate_from_json;
|
m_wallet_file = m_generate_from_json;
|
||||||
if (!tools::wallet2::make_from_json(vm, m_wallet_file))
|
m_wallet = tools::wallet2::make_from_json(vm, m_wallet_file);
|
||||||
|
if (!m_wallet)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user