Skip to content

Commit 2bb040a

Browse files
committed
fix: Update error code check for insufficient funds
1 parent b74281f commit 2bb040a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/systems/Transaction/services/transaction.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ export class TxService {
485485
// If this is the last attempt and we still don't have funds, we cannot move forward
486486
if (
487487
attempts === maxAttempts &&
488-
error.code === ErrorCode.NOT_ENOUGH_FUNDS
488+
error.code === ErrorCode.FUNDS_TOO_LOW
489489
) {
490490
throw e;
491491
}

0 commit comments

Comments
 (0)