Skip to content

Commit

Permalink
GH-2125 If we have the block in our dispatcher list then it is applied
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Mar 9, 2024
1 parent 00d8ccf commit fdeb7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3101,7 +3101,7 @@ namespace eosio {
if( my_impl->dispatcher->have_block( blk_id ) ) {
peer_dlog( this, "canceling wait, already received block ${num}, id ${id}...",
("num", blk_num)("id", blk_id.str().substr(8,16)) );
my_impl->sync_master->sync_recv_block( shared_from_this(), blk_id, blk_num, false );
my_impl->sync_master->sync_recv_block( shared_from_this(), blk_id, blk_num, true );
cancel_wait();

pending_message_buffer.advance_read_ptr( message_length );
Expand Down

0 comments on commit fdeb7fc

Please sign in to comment.