graphql/graphql.go — Version Comparison
|
v1.16.8 |
v1.17.3 |
| Branch |
etc/v1.16.8-full-node |
etc/v1.17.3-full-node |
| Delta |
+1 -1 |
+1 -1 |
ETC delta on v1.16.8 (+1 -1)
diff --git a/graphql/graphql.go b/graphql/graphql.go
index 0b2a77a3c..8f38571e4 100644
--- a/graphql/graphql.go
+++ b/graphql/graphql.go
@@ -776,7 +776,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
}
}
ETC delta on v1.17.3 (+1 -1)
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
}
}
← Back to Version Comparison