mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
save
This commit is contained in:
parent
7b825fe871
commit
abe247438d
1 changed files with 1 additions and 2 deletions
|
|
@ -124,8 +124,7 @@ func (miner *Miner) SetExtra(extra []byte) error {
|
||||||
// For pre-1559 blocks, it sets the ceiling.
|
// For pre-1559 blocks, it sets the ceiling.
|
||||||
func (miner *Miner) SetGasCeil(ceil uint64) {
|
func (miner *Miner) SetGasCeil(ceil uint64) {
|
||||||
miner.confMu.Lock()
|
miner.confMu.Lock()
|
||||||
miner.config.GasCeil = new(uint64)
|
miner.config.GasCeil = &ceil
|
||||||
*miner.config.GasCeil = ceil
|
|
||||||
miner.confMu.Unlock()
|
miner.confMu.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue