Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fix log of pending block producer - develop #9222

Merged
merged 1 commit into from
Jun 18, 2020
Merged

Fix log of pending block producer - develop #9222

merged 1 commit into from
Jun 18, 2020

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Jun 18, 2020

Change Description

Change Type

Select ONE

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@@ -1560,7 +1569,8 @@ bool producer_plugin_impl::remove_expired_trxs( const fc::time_point& deadline )
if( pbm == pending_block_mode::producing ) {
fc_dlog( _trx_trace_log,
"[TRX_TRACE] Block ${block_num} for producer ${prod} is EXPIRING PERSISTED tx: ${txid}",
("block_num", chain.head_block_num() + 1)("prod", chain.pending_block_producer())("txid", txid));
("block_num", chain.head_block_num() + 1)("txid", txid)
("prod", chain.is_building_block() ? chain.pending_block_producer() : name()) );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you don't use the new method here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

impl this not available and I didn't want to have to calculate it and pass it in when most of the time logging is off and it is not needed.

@heifner heifner merged commit 7ab294d into develop Jun 18, 2020
@heifner heifner deleted the pend-prod-dev branch June 18, 2020 22:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants