forked from mirror/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 MaxGasLimitMariusVanDerWijden-patch-1
parent
72c2c0ae7e
commit
b3b8b268eb
Loading…
Reference in new issue