-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(key-manager): remove floating point math from mnemonic code (#4064)
Description --- - removes floating-point math from `mnemonic::from_bytes` - masks "last" byte before conversion to u8 (clippy) Motivation and Context --- This fixes clippy cast warnings and avoids the overhead of working with floating-points How Has This Been Tested? --- This module is tested well, these tests pass.
- Loading branch information
Showing
1 changed file
with
16 additions
and
13 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