aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-06 08:51:44 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-06 08:52:16 +0200
commit3463f0ab52a84b79977c3e67177637e62265c89c (patch)
tree1e2077aa15fa18fcc9b00fa23c9514d46df6ef95 /src/simplewallet
parentfix for miniupnpc static compile under Windows (diff)
parentadded aabramov's gpg key (diff)
downloadmonero-3463f0ab52a84b79977c3e67177637e62265c89c.tar.xz
Merge pull request #171
32be6ae added aabramov's gpg key (Riccardo Spagni) 010bfcf minor English wordlist tweaks (Riccardo Spagni) 9ef094b added unbound to external deps (Riccardo Spagni) 732493c split mnemonic printout over 3 lines (Riccardo Spagni)
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 98515a945..4cb9cff21 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -212,6 +212,8 @@ bool simple_wallet::seed(const std::vector<std::string> &args/* = std::vector<st
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";
+ boost::replace_nth(electrum_words, " ", 15, "\n");
+ boost::replace_nth(electrum_words, " ", 7, "\n");
std::cout << electrum_words << std::endl;
}
else
@@ -542,6 +544,8 @@ bool simple_wallet::new_wallet(const std::string &wallet_file, const std::string
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";
+ boost::replace_nth(electrum_words, " ", 15, "\n");
+ boost::replace_nth(electrum_words, " ", 7, "\n");
std::cout << electrum_words << std::endl;
}
success_msg_writer() << "**********************************************************************";