internal/ethapi/transaction_args.go — Version Comparison
|
v1.17.3 |
v1.17.4 |
| Branch |
etc/v1.17.3-full-node |
etc/v1.17.4-full-node |
| Delta |
+1 -1 |
+1 -1 |
ETC delta on v1.17.3 (+1 -1)
diff --git a/internal/ethapi/transaction_args.go b/internal/ethapi/transaction_args.go
index 1032d067f..903f8d510 100644
--- a/internal/ethapi/transaction_args.go
+++ b/internal/ethapi/transaction_args.go
@@ -209,7 +209,7 @@ func (args *TransactionArgs) setFeeDefaults(ctx context.Context, b Backend, head
}
// Sanity check the non-EIP-1559 fee parameters.
- isLondon := b.ChainConfig().IsLondon(head.Number)
+ isLondon := b.ChainConfig().IsEIP1559(head.Number)
if args.GasPrice != nil && !eip1559ParamsSet {
// Zero gas-price is not allowed after London fork
if args.GasPrice.ToInt().Sign() == 0 && isLondon {
ETC delta on v1.17.4 (+1 -1)
diff --git a/internal/ethapi/transaction_args.go b/internal/ethapi/transaction_args.go
index 1a7cf1c11..9cb58d325 100644
--- a/internal/ethapi/transaction_args.go
+++ b/internal/ethapi/transaction_args.go
@@ -212,7 +212,7 @@ func (args *TransactionArgs) setFeeDefaults(ctx context.Context, b Backend, head
}
// Sanity check the non-EIP-1559 fee parameters.
- isLondon := b.ChainConfig().IsLondon(head.Number)
+ isLondon := b.ChainConfig().IsEIP1559(head.Number)
if args.GasPrice != nil && !eip1559ParamsSet {
// Zero gas-price is not allowed after London fork
if args.GasPrice.ToInt().Sign() == 0 && isLondon {
← Back to Version Comparison