Invalid addresses in send funds
sentry-io opened this issue · 0 comments
sentry-io commented
To replicate:
In send funds, enter a single character like a
in the recipient address field, then press enter.
To fix, please add validation on the input field to prevent submission of invalid addresses.
Sentry Issue: TALISMAN-EXTENSION-X93
React ErrorBoundary Error: Decoding a: Invalid decoded address length
at new ErrorBoundaryDatabaseMigration (/./src/@talisman/components/ErrorBoundaryDatabaseMigration.tsx:32:8)
at ErrorBoundary (/./src/@talisman/components/ErrorBoundary.tsx:47:33)
Error: Decoding a: Invalid decoded address length
at encodeAnyAddress (/../../packages/util/dist/talismn-util.esm.js:51:12)
at convertAddress (/./src/@talisman/util/convertAddress.ts:10:10)
at a (/./src/ui/hooks/useContact.ts:11:23)
at useContact (/./src/ui/hooks/useContact.ts:9:10)
at ox (/./src/ui/domains/SendFunds/SendFundsAmountForm/AddressPillButton.tsx:28:19)
...
(13 additional frame(s) were not displayed)