Skip to content

Commit 49fb6f4

Browse files
committed
typo bug
1 parent d9cc603 commit 49fb6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/tasks/send-transaction-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ const _sendTransaction = async (
518518
}
519519

520520
// in case neither of the estimations work, the estimatedCost will be 0n, so this check should not pass, and transaction remains unaffected
521-
else if (estimatedCost > gasFeeCeiling) {
521+
if (estimatedCost > gasFeeCeiling) {
522522
const retryAt = _minutesFromNow(5);
523523
job.log(
524524
`Override gas fee ceiling (${gasFeeCeiling}) is lower than onchain estimated cost (${estimatedCost}). Delaying job until ${retryAt}. [gas: ${populatedTransaction.gas}, gasPrice: ${populatedTransaction.gasPrice}, maxFeePerGas: ${populatedTransaction.maxFeePerGas}]`,

0 commit comments

Comments
 (0)