From c49cb0461091495c023fb9aa56ca8298a556f0a5 Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Thu, 12 Jun 2014 19:34:24 -0400 Subject: [PATCH] changed wallet mnemonic to use cout so it doesn't print to log --- src/simplewallet/simplewallet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 21f3a8688..6af0de9f9 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -3,6 +3,7 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include +#include #include #include #include @@ -411,7 +412,7 @@ bool simple_wallet::new_wallet(const string &wallet_file, const std::string& pas if (!two_random) { success_msg_writer(true) << "\nPLEASE NOTE: the following 24 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. You will not be able to view these words again, so it is imperative to make note of them now.\n"; - success_msg_writer() << electrum_words; + std::cout << electrum_words << std::endl; } success_msg_writer() << "**********************************************************************";