Skip to content

Commit

Permalink
GH-529 Fix access of nullptr c
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Sep 3, 2024
1 parent 4e3f9a0 commit 023c8df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2497,10 +2497,10 @@ namespace eosio {
// Did not request blocks ahead, likely because too far ahead of head
// Do not restrict sync_fetch_span as we want max-reversible-blocks to shut down the node for applied blocks
fc_dlog(logger, "Requesting blocks, head: ${h} fhead ${fh} blk_num: ${bn} sync_next_expected_num ${nen} "
"sync_last_requested_num: ${lrn}, sync_last_requested_block: ${lrb}",
"sync_last_requested_num: ${lrn}",
("h", my_impl->get_chain_head_num())("fh", my_impl->get_fork_head_num())
("bn", blk_num)("nen", sync_next_expected_num)
("lrn", sync_last_requested_num)("lrb", c->sync_last_requested_block));
("lrn", sync_last_requested_num));
request_next_chunk();
}
}
Expand Down

0 comments on commit 023c8df

Please sign in to comment.