1
0
Fork 0
forked from lthn/blockchain

minor log improvement

This commit is contained in:
sowle 2020-06-08 18:05:32 +03:00
parent c638a8b2f6
commit 1db364fbf6
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -5155,7 +5155,7 @@ bool blockchain_storage::handle_block_to_main_chain(const block& bl, const crypt
TIME_MEASURE_START_PD(tx_append_time);
if(!add_transaction_from_block(tx, tx_id, id, current_bc_size, actual_timestamp))
{
LOG_PRINT_L0("Block with id: " << id << " failed to add transaction to blockchain storage");
LOG_PRINT_L0("Block " << id << " contains tx " << tx_id << " that can't be added to the blockchain storage");
if (taken_from_pool)
{
currency::tx_verification_context tvc = AUTO_VAL_INIT(tvc);