rust-bitcoin-unsafe-fast/bitcoin
Martin Habovstiak b87ddc0043 Don't panic in `PrivateKey::from_slice`
During upgrade of `secp256k1` a number of function calls needed to be
rewritten to not use `from_slice` but `from_byte_array`. Unfortunately,
the conversions wasn't correct and caused panics on invalid inputs
rather than errors.

This fixes it simply by calling `try_into` on the entire slice and
converting the error.
2025-03-04 20:25:45 +01:00
..
contrib Remove rust-ordered dependency 2025-02-18 13:36:07 +11:00
embedded Move opcodes to primitives 2024-07-09 15:26:33 +10:00
examples update secp256k1 to 0.30.0 2025-03-02 23:31:48 +08:00
src Don't panic in `PrivateKey::from_slice` 2025-03-04 20:25:45 +01:00
tests Use Version constant 2025-02-23 04:19:48 +07:00
CHANGELOG.md Grab missing changelog 2025-02-25 19:35:43 +11:00
Cargo.toml update secp256k1 to 0.30.0 2025-03-02 23:31:48 +08:00