Skip to content

Commit

Permalink
Remove unneeded code, fork_db_head does not change during replay of t…
Browse files Browse the repository at this point in the history
…he fork db.
  • Loading branch information
heifner committed Oct 18, 2024
1 parent 466ae0b commit a0d1699
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,6 @@ struct controller_impl {
("n", fork_db_head->block_num() - chain_head.block_num())("ch", chain_head.block_num())("fh", fork_db_head->block_num()));
while (maybe_apply_blocks(forked_callback_t{}, trx_meta_cache_lookup{}) == controller::apply_blocks_result::incomplete)
;
fork_db_head = fork_db.head();
ilog( "reversible blocks replayed to ${bn} : ${id}", ("bn", fork_db_head->block_num())("id", fork_db_head->id()) );
}
}
Expand Down

0 comments on commit a0d1699

Please sign in to comment.