fix issue with gasLimit check for trimming (> instead of >=)
This commit is contained in:
parent
0b09082450
commit
194b6eb9d8
@ -344,7 +344,7 @@ tailLoop:
|
||||
}
|
||||
|
||||
// do they fit as is? if it doesn't, trim to make it fit if possible
|
||||
if chainGasLimit >= gasLimit {
|
||||
if chainGasLimit > gasLimit {
|
||||
chain.Trim(gasLimit-depGasLimit, mp, baseFee, allowNegativeChains(curTs.Height()))
|
||||
|
||||
if !chain.valid {
|
||||
|
Loading…
Reference in New Issue
Block a user