aboutsummaryrefslogtreecommitdiffstats
path: root/miner/stress_ethash.go
diff options
context:
space:
mode:
Diffstat (limited to 'miner/stress_ethash.go')
-rw-r--r--miner/stress_ethash.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/miner/stress_ethash.go b/miner/stress_ethash.go
index 4ed8aeee4..5ed11d73a 100644
--- a/miner/stress_ethash.go
+++ b/miner/stress_ethash.go
@@ -186,6 +186,8 @@ func makeMiner(genesis *core.Genesis, nodes []string) (*node.Node, error) {
TxPool: core.DefaultTxPoolConfig,
GPO: eth.DefaultConfig.GPO,
Ethash: eth.DefaultConfig.Ethash,
+ MinerGasFloor: genesis.GasLimit * 9 / 10,
+ MinerGasCeil: genesis.GasLimit * 11 / 10,
MinerGasPrice: big.NewInt(1),
MinerRecommit: time.Second,
})