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:
parent
31abac4daf
commit
069d688cf7
@ -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())
|
||||
|
@ -2706,7 +2706,8 @@ bool wallet2::load_tx(const std::string &signed_filename, std::vector<tools::wal
|
||||
LOG_PRINT_L0("Failed to parse data from " << signed_filename);
|
||||
return false;
|
||||
}
|
||||
LOG_PRINT_L1("Loaded signed tx data from binary: " << signed_txs.ptx.size() << " transactions");
|
||||
LOG_PRINT_L0("Loaded signed tx data from binary: " << signed_txs.ptx.size() << " transactions");
|
||||
for (auto &ptx: signed_txs.ptx) LOG_PRINT_L0(cryptonote::obj_to_json_str(ptx.tx));
|
||||
|
||||
ptx = signed_txs.ptx;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user