Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
theoreticalbts committed Jul 14, 2016
1 parent 24bc88d commit c96fbd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/plugins/witness/witness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ 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 for ${w} because I don't have the private key for ${scheduled_key}", (capture) );
ilog("Not producing block for ${scheduled_witness} 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", (capture) );
Expand Down Expand Up @@ -343,6 +343,7 @@ block_production_condition::block_production_condition_enum witness_plugin::mayb

if( private_key_itr == _private_keys.end() )
{
capture("scheduled_witness", scheduled_witness);
capture("scheduled_key", scheduled_key);
return block_production_condition::no_private_key;
}
Expand Down

0 comments on commit c96fbd9

Please sign in to comment.