BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
215 stars 80 forks source link

rust: use .into not .try_into for hash->array conversion #1233

Closed benma closed 1 week ago

benma commented 1 week ago

Since digest-0.13.0, one can convert directly to the [u8;32] array.

This does not change the compilation output at all (identical binaries).