Skip to content

Commit

Permalink
fix: serialProcessor nil issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny2022da committed Nov 20, 2024
1 parent 1edced8 commit d0512ef
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 @@ -539,6 +539,7 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis
log.Info("Parallel V2 enabled", "parallelNum", ParallelNum())
} else {
bc.processor = NewStateProcessor(chainConfig, bc, engine)
bc.serialProcessor = bc.processor
}
// Start future block processor.
bc.wg.Add(1)
Expand Down

0 comments on commit d0512ef

Please sign in to comment.