Skip to content

Commit

Permalink
GH-1072 Simplify logic
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jun 5, 2023
1 parent 644ded8 commit 8756419
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2311,12 +2311,6 @@ namespace eosio {
}

sync_next_expected_num = blk_num + 1;
} else {
if (sync_last_requested_num != 0 && blk_num >= sync_last_requested_num) {
sync_next_expected_num = blk_num + 1;
request_next_chunk(std::move(g_sync));
return;
}
}

uint32_t head = my_impl->get_chain_head_num();
Expand Down

0 comments on commit 8756419

Please sign in to comment.