mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-05 03:04:03 +00:00
Eric Mastro
2336aa4e6f
fix: custom token validation for non-token addresses
When contract addresses that are not ERC-20 or ERC-721 were input, the token would be allowed to be added and would crash the app. In addition, when an ERC-20 contract was deployed without a name and symbol, “Invalid ERC-20 address” would appear. This PR adds error checking from the token detail lookup and reports the error back to the user in the modal. This prevents non-ERC-20/721 contracts from being able to be added to the app and prevents a crash.
Nim-status-client
Desktop client for the Status Network built with Nim and Qt
note: this documentation is wip
Getting started
Overview
Architecture & Development
Guides & Tutorials
Continuous Integration
API
Translations
License
Licensed under the Mozilla Public License Version 2.0
Description
Languages
QML
39.3%
JavaScript
29.5%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.7%