mirror of
https://github.com/monero-project/monero.git
synced 2026-01-20 19:42:58 +01:00
Merge pull request #4332
20171746wallet2: factor the creation of a new wallet keys file (moneromooo-monero)be6acfd5wallet2: factor new blockchain setup (moneromooo-monero)
This commit is contained in:
@@ -3707,7 +3707,8 @@ boost::optional<epee::wipeable_string> simple_wallet::new_wallet(const boost::pr
|
||||
|
||||
try
|
||||
{
|
||||
m_wallet->restore(m_wallet_file, std::move(rc.second).password(), device_name);
|
||||
bool create_address_file = command_line::get_arg(vm, arg_create_address_file);
|
||||
m_wallet->restore(m_wallet_file, std::move(rc.second).password(), device_name, create_address_file);
|
||||
message_writer(console_color_white, true) << tr("Generated new wallet on hw device: ")
|
||||
<< m_wallet->get_account().get_public_address_str(m_wallet->nettype());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user