-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rewrite to_bytes_with_language (#3918)
Description --- I thought about it. And I decided to get rid of the bits array. If you don't like the bit shifting I can rewrite it back. But I personally find this easier to read. Motivation and Context --- Get rid of some ties to the tari_utilities. I can now (probably) remove 2 functions from tari_utilities. How Has This Been Tested? --- There is a cargo test `test_mnemonic_from_bytes_and_to_bytes` at the bottom of the file.
- Loading branch information
Showing
1 changed file
with
46 additions
and
15 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