Merge pull request #1652

fba9332d Changed console output for transaction from L0 to L1 (NanoAkron)
This commit is contained in:
Riccardo Spagni 2017-02-02 21:36:56 +02:00
commit 58c87786ae
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -3007,7 +3007,7 @@ void wallet2::commit_tx(pending_tx& ptx)
} }
//fee includes dust if dust policy specified it. //fee includes dust if dust policy specified it.
LOG_PRINT_L0("Transaction successfully sent. <" << txid << ">" << ENDL LOG_PRINT_L1("Transaction successfully sent. <" << txid << ">" << ENDL
<< "Commission: " << print_money(ptx.fee) << " (dust sent to dust addr: " << print_money((ptx.dust_added_to_fee ? 0 : ptx.dust)) << ")" << ENDL << "Commission: " << print_money(ptx.fee) << " (dust sent to dust addr: " << print_money((ptx.dust_added_to_fee ? 0 : ptx.dust)) << ")" << ENDL
<< "Balance: " << print_money(balance()) << ENDL << "Balance: " << print_money(balance()) << ENDL
<< "Unlocked: " << print_money(unlocked_balance()) << ENDL << "Unlocked: " << print_money(unlocked_balance()) << ENDL