mirror of https://github.com/ethereum/go-ethereum
consensus: define MaxGasLimit as a const in params (#24092)
* consensus: use the maxGasLimit constant to check the header.GasLimit to avoid creating new variables repeatedly * consensus: check the header.GasLimit by the public constant MaxGasLimit * consensus: check the header.GasLimit by the constant MaxGasLimitpull/24104/head
parent
72c2c0ae7e
commit
b3b8b268eb
Loading…
Reference in new issue