mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 13:23:29 +01:00
Merge pull request #1334
265e460
Fixed generate-from-json bug introduced in358e068
(Lee Clagett)
This commit is contained in:
commit
9363b2ac19
@ -1134,7 +1134,8 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||
else if (!m_generate_from_json.empty())
|
||||
{
|
||||
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;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user