Fix log issue in witness.cpp block_production_loop
This commit is contained in:
parent
687aa7253e
commit
c9fbc8a411
1 changed files with 3 additions and 3 deletions
|
|
@ -211,7 +211,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}", (capture));
|
||||
ilog("Generated block #${n} with timestamp ${t} at time ${c}", ("n",capture)("t",capture)("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)");
|
||||
|
|
@ -223,10 +223,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}", (capture) );
|
||||
ilog("Not producing block because I don't have the private key for ${scheduled_key}", ("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", (capture) );
|
||||
elog("Not producing block because node appears to be on a minority fork with only ${pct}% witness participation", ("pct",capture) );
|
||||
break;
|
||||
case block_production_condition::lag:
|
||||
elog("Not producing block because node didn't wake up within 500ms of the slot time.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue