-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update Id::try_from to return a u32 and remove redundant logic …
…in nut13::derive_path_from_keyset_id (#452) * fix: return u32 from existing Id::TryFrom and add lossless u64 versions * remove TryFrom<u64> for Id and it's inverse * fix: remove unit test and fix nut13::derive_path_from_keyset_id * test: derive_path_from_keyset_id * fix: convert Id::TryFrom to Id::From * docs: comment calling out From<Id> for u32 as a one-way function
- Loading branch information
Showing
2 changed files
with
44 additions
and
7 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