Skip to content

Commit

Permalink
fix problem of double producing in some extreme cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ABW committed Oct 3, 2024
1 parent 86c65c4 commit 4764d30
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 @@ -987,8 +987,8 @@ bool chain_plugin_impl::push_block( const block_flow_control& block_ctrl, uint32
try
{
result = _push_block( block_ctrl );
block_ctrl.on_end_of_apply_block();
db.notify_finish_push_block( full_block );
block_ctrl.on_end_of_apply_block();
}
FC_CAPTURE_AND_RETHROW((new_block))

Expand Down

0 comments on commit 4764d30

Please sign in to comment.