Skip to content

Commit

Permalink
adding print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard-Voiculescu committed Sep 19, 2024
1 parent bb5e033 commit 53ea3ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1913,6 +1913,7 @@ type blockProcessingResult struct {
func (bc *BlockChain) processBlock(block *types.Block, statedb *state.StateDB, start time.Time, setHead bool) (_ *blockProcessingResult, blockEndErr error) {
if bc.logger != nil && bc.logger.OnBlockStart != nil {
td := bc.GetTd(block.ParentHash(), block.NumberU64()-1)
fmt.Println("DOUDOU: finalized block event", bc.CurrentFinalBlock())
bc.logger.OnBlockStart(tracing.BlockEvent{
Block: block,
TD: td,
Expand Down

0 comments on commit 53ea3ca

Please sign in to comment.