aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-06-12 19:34:24 -0400
committerThomas Winget <tewinget@gmail.com>2014-06-12 19:39:02 -0400
commitc49cb0461091495c023fb9aa56ca8298a556f0a5 (patch)
tree73da392fe51b1421aa17a97b4d8ff650904ef3ff /src
parentchange hash for keygen from blake to keccak (diff)
downloadmonero-c49cb0461091495c023fb9aa56ca8298a556f0a5.tar.xz
changed wallet mnemonic to use cout so it doesn't print to log
Diffstat (limited to 'src')
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 2 insertions, 1 deletions
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 <thread>
+#include <iostream>
#include <boost/lexical_cast.hpp>
#include <boost/program_options.hpp>
#include <boost/algorithm/string.hpp>
@@ -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() << "**********************************************************************";