Эх сурвалжийг харах

cmd/evm: make evm default to all ethash protocol changes

Martin Holst Swende 6 жил өмнө
parent
commit
16f0fb70f1
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      cmd/evm/runner.go

+ 2 - 0
cmd/evm/runner.go

@@ -198,6 +198,8 @@ func runCmd(ctx *cli.Context) error {
 
 	if chainConfig != nil {
 		runtimeConfig.ChainConfig = chainConfig
+	} else {
+		runtimeConfig.ChainConfig = params.AllEthashProtocolChanges
 	}
 	tstart := time.Now()
 	var leftOverGas uint64