Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Bear committed Oct 31, 2023
1 parent c349b3a commit aa1508e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions eth/core/chain_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ func (*blockchain) WriteBlockAndSetHead(
}

func (bc *blockchain) InsertBlockWithoutSetHead(block *types.Block) error {
// Retrieve the parent block and it's state to execute on top
// parent := bc.GetBlock(block.ParentHash(), block.NumberU64()-1)
// if parent == nil {
// return fmt.Errorf("parent block not found")
// }

// Process block using the parent state as reference point
pstart := time.Now()
receipts, logs, _, err := bc.processor.Process(block, bc.statedb, *bc.vmConfig)
Expand Down

0 comments on commit aa1508e

Please sign in to comment.