Skip to content

Commit 2e19c16

Browse files
committed
minor change
1 parent 10a1c7c commit 2e19c16

File tree

1 file changed

+2
-2
lines changed
  • packages/thirdweb/src/wallets/smart/lib

1 file changed

+2
-2
lines changed

packages/thirdweb/src/wallets/smart/lib/userop.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ async function getGasFees(args: {
271271
maxFeePerGas = resolvedMaxFeePerGas ?? feeData.maxFeePerGas ?? 0n;
272272

273273
if(chain.id === 88 || chain.id === 89) {
274-
maxPriorityFeePerGas = maxPriorityFeePerGas ?? feeData.gasPrice ?? 0n
275-
maxFeePerGas = maxFeePerGas ?? feeData.gasPrice ?? 0n
274+
maxPriorityFeePerGas = maxPriorityFeePerGas || feeData.gasPrice || 0n
275+
maxFeePerGas = maxFeePerGas || feeData.gasPrice || 0n
276276
}
277277
}
278278
}

0 commit comments

Comments
 (0)