diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-14 13:05:43 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-14 13:05:43 +0200 |
commit | dd2fc3afe3bfb3603125caba15eea0154b7dca30 (patch) | |
tree | f588394a0075dbc22352f91bde8f52425ccd6bfb /src/simplewallet/simplewallet.cpp | |
parent | Merge pull request #4331 (diff) | |
parent | wallet2: factor the creation of a new wallet keys file (diff) | |
download | monero-dd2fc3afe3bfb3603125caba15eea0154b7dca30.tar.xz |
Merge pull request #4332
20171746 wallet2: factor the creation of a new wallet keys file (moneromooo-monero)
be6acfd5 wallet2: factor new blockchain setup (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 602cdfe44..20ee0468f 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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()); } |