forked from cerc-io/plugeth
reflect ethash changes
This commit is contained in:
parent
09d3f2cf2a
commit
01e1b49831
@ -480,7 +480,7 @@ func makedag(ctx *cli.Context) {
|
|||||||
chain, _, _ := utils.GetChain(ctx)
|
chain, _, _ := utils.GetChain(ctx)
|
||||||
pow := ethash.New(chain)
|
pow := ethash.New(chain)
|
||||||
fmt.Println("making cache")
|
fmt.Println("making cache")
|
||||||
pow.UpdateCache(true)
|
pow.UpdateCache(0, true)
|
||||||
fmt.Println("making DAG")
|
fmt.Println("making DAG")
|
||||||
pow.UpdateDAG()
|
pow.UpdateDAG()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user