mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-23 15:14:32 +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{
|
||||
ParentHash: parent.Hash(),
|
||||
Number: num.Add(num, common.Big1),
|
||||
GasLimit: core.CalcGasLimit(parent),
|
||||
GasLimit: params.TargetGasLimit,
|
||||
Extra: self.extra,
|
||||
Time: big.NewInt(tstamp),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue