mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-08 01:01:34 +00:00
reflect ethash changes
This commit is contained in:
parent
09d3f2cf2a
commit
01e1b49831
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue