Skip to content

Commit 8730dfb

Browse files
committed
Fix: allow 0 values for gasPrice
1 parent e9c23ad commit 8730dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/gas/fee-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export async function getGasOverridesForTransaction(
6161
maxPriorityFeePerGas,
6262
};
6363
}
64-
if (gasPrice) {
64+
if (typeof gasPrice === "bigint") {
6565
return { gasPrice };
6666
}
6767

0 commit comments

Comments
 (0)