Skip to content

Commit

Permalink
Fix parse
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Jul 31, 2023
1 parent f1fc047 commit f091432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/solanaUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ export const parseTransactionError = (
balance?: Balance<AnyCurrencyType>,
message?: string,
) => {
if ((balance?.floatBalance || 0) > 0.02) {
if ((balance?.floatBalance || 0) < 0.02) {
return 'The SOL balance on this account is too low to complete this transaction'
}

Expand Down

0 comments on commit f091432

Please sign in to comment.