From 7ea9a3f230fa8cc0cb281d16739fc284dfd39564 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Mon, 14 Nov 2022 12:09:34 +0100 Subject: [PATCH] fix: router fees for EIP1559 --- services/wallet/fees.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/wallet/fees.go b/services/wallet/fees.go index eeabcac3e..5a6cfd287 100644 --- a/services/wallet/fees.go +++ b/services/wallet/fees.go @@ -31,7 +31,7 @@ type SuggestedFees struct { } func (s *SuggestedFees) feeFor(mode GasFeeMode) *big.Float { - if s.EIP1559Enabled { + if !s.EIP1559Enabled { return s.GasPrice }