fix: router fees for EIP1559
This commit is contained in:
parent
7662cd613a
commit
7ea9a3f230
|
@ -31,7 +31,7 @@ type SuggestedFees struct {
|
|||
}
|
||||
|
||||
func (s *SuggestedFees) feeFor(mode GasFeeMode) *big.Float {
|
||||
if s.EIP1559Enabled {
|
||||
if !s.EIP1559Enabled {
|
||||
return s.GasPrice
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue