There are a couple of issues around the ECDSA signature decoding / parsing code. We have duplicate code in `from_str` and `from_slice` and both use the same error type even though it is impossible to get a hex error in `from_slice`. Create two errors: - A `DecodeError` returned by `from_slice` - A `ParseSignatureError` that has a decode variant and a hex variant Call through to `from_slice` after parsing hex into a byte vector. Removes an instance of `unreachable!`. Fix: #1193 |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml |