mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
fix gas limit for block equal param
This commit is contained in:
parent
f586154a8e
commit
2a4d8db5da
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,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