Skip to content

Commit

Permalink
Merge pull request #3652 from balancer/fix/add-rejected-signing-check
Browse files Browse the repository at this point in the history
Add check for user rejected signing.
  • Loading branch information
timjrobinson authored Jul 7, 2023
2 parents 489b567 + 89bf8be commit acd8251
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/composables/useTransactionErrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function isUserRejected(error): boolean {
/user denied transaction signature/,
/user disapproved requested methods/,
/canceled/,
/user rejected signing/,
];

return isErrorType(error, messages);
Expand Down

1 comment on commit acd8251

@vercel
Copy link

@vercel vercel bot commented on acd8251 Jul 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.