Procházet zdrojové kódy

reflect ethash changes

obscuren před 10 roky
rodič
revize
01e1b49831
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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()
 }