Parcourir la source

reflect ethash changes

obscuren il y a 10 ans
Parent
commit
01e1b49831
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      cmd/geth/main.go

+ 1 - 1
cmd/geth/main.go

@@ -480,7 +480,7 @@ func makedag(ctx *cli.Context) {
 	chain, _, _ := utils.GetChain(ctx)
 	pow := ethash.New(chain)
 	fmt.Println("making cache")
-	pow.UpdateCache(true)
+	pow.UpdateCache(0, true)
 	fmt.Println("making DAG")
 	pow.UpdateDAG()
 }