Skip to content

Commit

Permalink
Bean UI - Tweaked "insufficient funds" error message (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromguy committed Nov 6, 2023
2 parents bfd0309 + b6404e2 commit 1f77349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/dex-ui/src/utils/parseError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const ERROR_STRINGS: Record<string, any> = {

// Insufficient funds (< value + gasLimit * gasPrice)
// - transaction: the transaction attempted
INSUFFICIENT_FUNDS: "Insufficient funds to complete the transaction.",
INSUFFICIENT_FUNDS: "Insufficient ETH to execute this transaction.",

// Nonce has already been used
// - transaction: the transaction attempted
Expand Down
2 changes: 1 addition & 1 deletion projects/ui/src/constants/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const ERROR_STRINGS: Record<string, any> = {

// Insufficient funds (< value + gasLimit * gasPrice)
// - transaction: the transaction attempted
INSUFFICIENT_FUNDS: 'Insufficient funds to complete the transaction.',
INSUFFICIENT_FUNDS: 'Insufficient ETH to execute this transaction.',

// Nonce has already been used
// - transaction: the transaction attempted
Expand Down

0 comments on commit 1f77349

Please sign in to comment.