Skip to content

Commit 33859cb

Browse files
committed
review feedback
1 parent 89455ef commit 33859cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/features/defi/helpers/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ export const getFeesFromFeeData = async ({
5050
if (!supportsETH(wallet)) throw new Error('wallet has no evm support')
5151
if (!gasLimit) throw new Error('gasLimit is required')
5252

53-
const eip1559Support = await wallet.ethSupportsEIP1559()
53+
const supportsEip1559 = await wallet.ethSupportsEIP1559()
5454

5555
// use eip1559 fees if able
56-
if (eip1559Support && maxFeePerGas && maxPriorityFeePerGas) {
56+
if (supportsEip1559 && maxFeePerGas && maxPriorityFeePerGas) {
5757
return { gasLimit, maxFeePerGas, maxPriorityFeePerGas }
5858
}
5959

0 commit comments

Comments
 (0)