forked from FuelLabs/forc-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added validation for Ethereum addresses using the EIP-55 checksum standard. - Implemented the `validate_eth_address` function to ensure all Ethereum addresses are correctly validated before use. - Updated the `Account::new` constructor to include checksum validation logic. - Included test cases to verify the correctness of valid and invalid Ethereum addresses. - Improved error handling for invalid addresses.
- Loading branch information
Showing
1 changed file
with
61 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters