Skip to content

Commit

Permalink
Fix hideous function call #2717
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerbino committed Sep 8, 2018
1 parent 0feeb8f commit 2777be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/plugins/chain/chain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ struct write_request_visitor
FC_THROW_EXCEPTION( chain_exception, "Received a generate block request, but no block generator has been registered." );

STATSD_START_TIMER( "chain", "write_time", "generate_block", 1.0f )
req->block = block_generator.operator*()(
req->block = (*block_generator)(
req->when,
req->witness_owner,
req->block_signing_private_key,
Expand Down

0 comments on commit 2777be6

Please sign in to comment.