From 069d688cf71f5e80844f3cb2a16b275f0e7bdf29 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 25 Oct 2016 23:23:59 +0100 Subject: [PATCH] simplewallet: log transactions to submit in submit_transfer Not as trustworthy as this is in the view wallet, the one that's considered compromised. --- src/simplewallet/simplewallet.cpp | 2 +- src/wallet/wallet2.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index c8484dd5a..09c574528 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -3246,7 +3246,7 @@ bool simple_wallet::submit_transfer(const std::vector &args_) if (dust_in_fee != 0) prompt << boost::format(tr(", of which %s is dust from change")) % print_money(dust_in_fee); if (dust_not_in_fee != 0) prompt << tr(".") << ENDL << boost::format(tr("A total of %s from dust change will be sent to dust address")) % print_money(dust_not_in_fee); - prompt << tr(".") << ENDL << tr("Is this okay? (Y/Yes/N/No)"); + prompt << tr(".") << ENDL << "Full transaction details are available in the log file" << ENDL << tr("Is this okay? (Y/Yes/N/No)"); std::string accepted = command_line::input_line(prompt.str()); if (std::cin.eof()) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 55e4fa4de..a02c2e4e5 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2706,7 +2706,8 @@ bool wallet2::load_tx(const std::string &signed_filename, std::vector