graphql/graphql.go¶
| Type | MOD |
| Upstream Lines | 1566 |
| Changed | +1 -1 |
Rename IsLondon→IsEIP1559 to honour the Mystique/ETC chain config (London without EIP-1559)
diff --git a/graphql/graphql.go b/graphql/graphql.go
index dadc91fac..81db5c33f 100644
--- a/graphql/graphql.go
+++ b/graphql/graphql.go
@@ -782,7 +782,7 @@ func (b *Block) NextBaseFeePerGas(ctx context.Context) (*hexutil.Big, error) {
chaincfg := b.r.backend.ChainConfig()
if header.BaseFee == nil {
// Make sure next block doesn't enable EIP-1559
- if !chaincfg.IsLondon(new(big.Int).Add(header.Number, common.Big1)) {
+ if !chaincfg.IsEIP1559(new(big.Int).Add(header.Number, common.Big1)) {
return nil, nil
}
}