fix gas limit for block equal param

This commit is contained in:
parmarrushabh 2018-11-12 13:10:40 +05:30
parent f586154a8e
commit 2a4d8db5da

View file

@ -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),
}