Revert "Fix log issue in witness.cpp block_production_loop"

This reverts commit c9fbc8a411.
Updated version of fc is published, so this fix is no longer necessary.
This commit is contained in:
theoreticalbts 2015-09-01 16:31:08 -04:00
parent b0fd510d51
commit 00a2d2dac7

View file

@ -170,7 +170,7 @@ block_production_condition::block_production_condition_enum witness_plugin::bloc
switch( result )
{
case block_production_condition::produced:
ilog("Generated block #${n} with timestamp ${t} at time ${c}", ("n",capture)("t",capture)("c",capture));
ilog("Generated block #${n} with timestamp ${t} at time ${c}", (capture));
break;
case block_production_condition::not_synced:
ilog("Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)");
@ -182,10 +182,10 @@ block_production_condition::block_production_condition_enum witness_plugin::bloc
ilog("Not producing block because slot has not yet arrived");
break;
case block_production_condition::no_private_key:
ilog("Not producing block because I don't have the private key for ${scheduled_key}", ("scheduled_key",capture) );
ilog("Not producing block because I don't have the private key for ${scheduled_key}", (capture) );
break;
case block_production_condition::low_participation:
elog("Not producing block because node appears to be on a minority fork with only ${pct}% witness participation", ("pct",capture) );
elog("Not producing block because node appears to be on a minority fork with only ${pct}% witness participation", (capture) );
break;
case block_production_condition::lag:
elog("Not producing block because node didn't wake up within 500ms of the slot time.");