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 4834aa5 commit 497deabCopy full SHA for 497deab
packages/thirdweb/src/gas/fee-data.ts
@@ -137,12 +137,16 @@ export async function getDefaultGasOverrides(
137
resolvedFeeType === "legacy" ||
138
FORCE_GAS_PRICE_CHAIN_IDS.includes(chain.id)
139
) {
140
- const gasPrice = await getGasPrice({ chain, client, percentMultiplier: 10 })
141
- if(chain.id === 88 || chain.id === 89) {
+ const gasPrice = await getGasPrice({
+ chain,
142
+ client,
143
+ percentMultiplier: 10,
144
+ })
145
+ if (chain.id === 88 || chain.id === 89) {
146
return {
147
maxPriorityFeePerGas: gasPrice || 0n,
- maxFeePerGas: gasPrice || 0n
- }
148
+ maxFeePerGas: gasPrice || 0n,
149
+ };
150
}
151
152
0 commit comments