more code cleanup

This commit is contained in:
Guillaume Ballet 2023-08-15 16:19:42 +02:00
parent 9bb7f41c2d
commit 12c65cb520

View file

@ -176,17 +176,6 @@ func ImportChain(chain *core.BlockChain, fn string) error {
return err return err
} }
} }
// cpuProfile, err := os.Create("cpu.out")
// if err != nil {
// return fmt.Errorf("Error creating CPU profile: %v", err)
// }
// defer cpuProfile.Close()
// err = pprof.StartCPUProfile(cpuProfile)
// if err != nil {
// return fmt.Errorf("Error starting CPU profile: %v", err)
// }
// defer pprof.StopCPUProfile()
// params.ClearVerkleWitnessCosts()
stream := rlp.NewStream(reader, 0) stream := rlp.NewStream(reader, 0)