Skip to content

Commit

Permalink
Merge pull request #146 from AntelopeIO/GH-141-syncing
Browse files Browse the repository at this point in the history
[1.0-beta1] P2P: Fix switch from lib catchup to head catchup
  • Loading branch information
heifner authored May 16, 2024
2 parents 26c5040 + 27c66f0 commit b4a784a
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 @@ -3118,7 +3118,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, true, fc::microseconds::maximum() );
my_impl->sync_master->sync_recv_block( shared_from_this(), blk_id, blk_num, false, fc::microseconds::maximum() );
cancel_wait();

pending_message_buffer.advance_read_ptr( message_length );
Expand Down

0 comments on commit b4a784a

Please sign in to comment.