mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core: revert Gas change
This commit is contained in:
parent
9783cbb995
commit
c983208c54
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ func (b *BlockGen) BaseFee() *big.Int {
|
|||
|
||||
// Gas returns the amount of gas left in the current block.
|
||||
func (b *BlockGen) Gas() uint64 {
|
||||
return b.gasPool.Gas()
|
||||
return b.header.GasLimit - b.header.GasUsed
|
||||
}
|
||||
|
||||
// Signer returns a valid signer instance for the current block.
|
||||
|
|
|
|||
Loading…
Reference in a new issue