-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixture(eaddress): truncate hex string from decrypted bytes (leading 00)
The decrypted value could contain leading 0 bytes (e.g. KMS returns 32 bytes serialized big int). This behaviour triggers error with getAddress method from ethers which takes hex string and return eth plain address (if hexstring > 40 digits)
- Loading branch information
Showing
2 changed files
with
11 additions
and
8 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
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