We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89455ef commit 33859cbCopy full SHA for 33859cb
1 file changed
src/features/defi/helpers/utils.ts
@@ -50,10 +50,10 @@ export const getFeesFromFeeData = async ({
50
if (!supportsETH(wallet)) throw new Error('wallet has no evm support')
51
if (!gasLimit) throw new Error('gasLimit is required')
52
53
- const eip1559Support = await wallet.ethSupportsEIP1559()
+ const supportsEip1559 = await wallet.ethSupportsEIP1559()
54
55
// use eip1559 fees if able
56
- if (eip1559Support && maxFeePerGas && maxPriorityFeePerGas) {
+ if (supportsEip1559 && maxFeePerGas && maxPriorityFeePerGas) {
57
return { gasLimit, maxFeePerGas, maxPriorityFeePerGas }
58
}
59
0 commit comments