Fix wallet import for old JSON files (#1712)
This commit is contained in:
parent
46b34521f7
commit
acf69e28a4
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ bool nano::wallet::import (std::string const & json_a, std::string const & passw
|
|||
}
|
||||
if (!error)
|
||||
{
|
||||
auto transaction (wallets.tx_begin_read ());
|
||||
auto transaction (wallets.tx_begin_write ());
|
||||
error = temp->attempt_password (transaction, password_a);
|
||||
}
|
||||
auto transaction (wallets.tx_begin_write ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue