mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 00:04:14 -04:00
wallet: fix --generate-from-json using wrong password
This commit is contained in:
parent
83d8f03c23
commit
25e5890d37
6 changed files with 20 additions and 7 deletions
|
@ -3352,7 +3352,8 @@ public:
|
|||
{
|
||||
try
|
||||
{
|
||||
wal = tools::wallet2::make_from_json(vm, true, from_json, password_prompt);
|
||||
auto rc = tools::wallet2::make_from_json(vm, true, from_json, password_prompt);
|
||||
wal = std::move(rc.first);
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue