mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
split mnemonic printout over 3 lines
This commit is contained in:
parent
fce9dea1b9
commit
732493c5cb
1 changed files with 4 additions and 0 deletions
|
@ -212,6 +212,8 @@ bool simple_wallet::seed(const std::vector<std::string> &args/* = std::vector<st
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
success_msg_writer(true) << "\nPLEASE NOTE: the following 25 words can be used to recover access to your wallet. Please write them down and store them somewhere safe and secure. Please do not store them in your email or on file storage services outside of your immediate control.\n";
|
success_msg_writer(true) << "\nPLEASE NOTE: the following 25 words can be used to recover access to your wallet. Please write them down and store them somewhere safe and secure. Please do not store them in your email or on file storage services outside of your immediate control.\n";
|
||||||
|
boost::replace_nth(electrum_words, " ", 15, "\n");
|
||||||
|
boost::replace_nth(electrum_words, " ", 7, "\n");
|
||||||
std::cout << electrum_words << std::endl;
|
std::cout << electrum_words << std::endl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -542,6 +544,8 @@ bool simple_wallet::new_wallet(const std::string &wallet_file, const std::string
|
||||||
if (!two_random)
|
if (!two_random)
|
||||||
{
|
{
|
||||||
success_msg_writer(true) << "\nPLEASE NOTE: the following 25 words can be used to recover access to your wallet. Please write them down and store them somewhere safe and secure. Please do not store them in your email or on file storage services outside of your immediate control.\n";
|
success_msg_writer(true) << "\nPLEASE NOTE: the following 25 words can be used to recover access to your wallet. Please write them down and store them somewhere safe and secure. Please do not store them in your email or on file storage services outside of your immediate control.\n";
|
||||||
|
boost::replace_nth(electrum_words, " ", 15, "\n");
|
||||||
|
boost::replace_nth(electrum_words, " ", 7, "\n");
|
||||||
std::cout << electrum_words << std::endl;
|
std::cout << electrum_words << std::endl;
|
||||||
}
|
}
|
||||||
success_msg_writer() << "**********************************************************************";
|
success_msg_writer() << "**********************************************************************";
|
||||||
|
|
Loading…
Reference in a new issue