From 2a4d8db5da4acb8f52a882094506c9f1fd979076 Mon Sep 17 00:00:00 2001 From: parmarrushabh Date: Mon, 12 Nov 2018 13:10:40 +0530 Subject: [PATCH] fix gas limit for block equal param --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index a23121e8df..cde1bd39c1 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -529,7 +529,7 @@ func (self *worker) commitNewWork() { header := &types.Header{ ParentHash: parent.Hash(), Number: num.Add(num, common.Big1), - GasLimit: core.CalcGasLimit(parent), + GasLimit: params.TargetGasLimit, Extra: self.extra, Time: big.NewInt(tstamp), }