Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Truncate secret hash using precision
Currently we are attempting to truncate the hash created using `bitcoin_hashes` by using the "width" formatting parameter instead of the "precision" parameter. `hex-conservative` truncates with the "precision" parameter as is expected since a hash is not an integral type. Use the formatting string `"{:.16}"` which is the "precision" formatting parameter.
- Loading branch information