diff --git a/miner/miner.go b/miner/miner.go index 8790a5c522..1a3295901c 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -124,8 +124,7 @@ func (miner *Miner) SetExtra(extra []byte) error { // For pre-1559 blocks, it sets the ceiling. func (miner *Miner) SetGasCeil(ceil uint64) { miner.confMu.Lock() - miner.config.GasCeil = new(uint64) - *miner.config.GasCeil = ceil + miner.config.GasCeil = &ceil miner.confMu.Unlock() }