-
Notifications
You must be signed in to change notification settings - Fork 805
Closed
Labels
Description
Describe the bug
When I want to validate a Braavos address with the validateChecksumAddress function, it returns false.
To Reproduce
Copy and paste a Braavos address and use validateChecksumAddress(address)
Expected behavior
It returns true
Screenshots
n/a
Desktop (please complete the following information):
- Browser & version: Chrome
- Node version: 18.0.0
- Starknet.js version: 5.24.3
- Network: mainnet
Additional context
It's working with Argent address when you copy paste from wallet.
It's not working with Braavos because the address is full lowercase and to not pass the getChecksumAddress validation.