forked from lthn/blockchain
wallet2: minor logging improvements
This commit is contained in:
parent
738a63a48e
commit
453e2b3456
2 changed files with 2 additions and 2 deletions
|
|
@ -2370,7 +2370,7 @@ void wallet2::refresh(size_t & blocks_fetched, bool& received_money, std::atomic
|
|||
}
|
||||
|
||||
|
||||
WLT_LOG("Refresh done, blocks received: " << blocks_fetched << ", balance: " << print_money(balance()) << ", unlocked: " << print_money(unlocked_balance()), blocks_fetched > 0 ? LOG_LEVEL_1 : LOG_LEVEL_2);
|
||||
WLT_LOG("Refresh done, blocks received: " << blocks_fetched << ", balance: " << print_money_brief(balance()) << ", unlocked: " << print_money_brief(unlocked_balance()), blocks_fetched > 0 ? LOG_LEVEL_1 : LOG_LEVEL_2);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
bool wallet2::handle_expiration_list(uint64_t tx_expiration_ts_median)
|
||||
|
|
|
|||
|
|
@ -1311,7 +1311,7 @@ namespace tools
|
|||
ptc.is_derived_from_coinbase = true;
|
||||
else
|
||||
ptc.is_derived_from_coinbase = false;
|
||||
WLT_LOG_L0("Spent key out, transfer #" << tr_index << ", amount: " << currency::print_money(td.amount()) << ", with tx: " << get_transaction_hash(tx) << ", at height " << ptc.height <<
|
||||
WLT_LOG_L0("Spent key out, transfer #" << tr_index << ", amount: " << currency::print_money_brief(td.amount()) << ", with tx: " << get_transaction_hash(tx) << ", at height " << ptc.height <<
|
||||
"; flags: " << flags_before << " -> " << td.m_flags);
|
||||
ptc.mtd.spent_indices.push_back(ptc.i);
|
||||
remove_transfer_from_expiration_list(tr_index);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue