We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a1c7c commit 2e19c16Copy full SHA for 2e19c16
packages/thirdweb/src/wallets/smart/lib/userop.ts
@@ -271,8 +271,8 @@ async function getGasFees(args: {
271
maxFeePerGas = resolvedMaxFeePerGas ?? feeData.maxFeePerGas ?? 0n;
272
273
if(chain.id === 88 || chain.id === 89) {
274
- maxPriorityFeePerGas = maxPriorityFeePerGas ?? feeData.gasPrice ?? 0n
275
- maxFeePerGas = maxFeePerGas ?? feeData.gasPrice ?? 0n
+ maxPriorityFeePerGas = maxPriorityFeePerGas || feeData.gasPrice || 0n
+ maxFeePerGas = maxFeePerGas || feeData.gasPrice || 0n
276
}
277
278
0 commit comments