simplewallet: log transactions to submit in submit_transfer

Not as trustworthy as this is in the view wallet, the one
that's considered compromised.
This commit is contained in:
moneromooo-monero
2016-10-25 23:23:59 +01:00
parent 31abac4daf
commit 069d688cf7
2 changed files with 3 additions and 2 deletions

View File

@@ -3246,7 +3246,7 @@ bool simple_wallet::submit_transfer(const std::vector<std::string> &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())