mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix gas limit for block equal param
This commit is contained in:
parent
c0584b6612
commit
dd6bdae5a8
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +532,7 @@ func (self *worker) commitNewWork() {
|
||||||
header := &types.Header{
|
header := &types.Header{
|
||||||
ParentHash: parent.Hash(),
|
ParentHash: parent.Hash(),
|
||||||
Number: num.Add(num, common.Big1),
|
Number: num.Add(num, common.Big1),
|
||||||
GasLimit: core.CalcGasLimit(parent),
|
GasLimit: params.TargetGasLimit,
|
||||||
Extra: self.extra,
|
Extra: self.extra,
|
||||||
Time: big.NewInt(tstamp),
|
Time: big.NewInt(tstamp),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue