Skip to content

Commit

Permalink
bugfix: Setting MinDiff in config in progpow
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Sep 13, 2023
1 parent 55a7c1d commit cc944e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eth/ethconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func CreateProgpowConsensusEngine(stack *node.Node, chainConfig *params.ChainCon
NotifyFull: config.NotifyFull,
DurationLimit: config.DurationLimit,
GasCeil: config.GasCeil,
MinDifficulty: config.MinDifficulty,
}, notify, noverify)
engine.SetThreads(-1) // Disable CPU mining
return engine
Expand Down

0 comments on commit cc944e5

Please sign in to comment.