diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-04-29 07:17:01 +0000 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-04-29 07:17:01 +0000 |
| commit | cfcaeeacf91e5250e3d211e5d196b9475e503cc4 (patch) | |
| tree | 39dc5871b9ce55aab45492f15216610919cb52b6 /src | |
| parent | 9151581db21e72a8098293a37987e64dd6f472b4 (diff) | |
Bump secp256k1 from 0.20.1 to 0.20.2 (#18)
* Bump secp256k1 from 0.20.1 to 0.20.2
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.20.1 to 0.20.2.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases)
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/commits)
Signed-off-by: dependabot[bot] <[email protected]>
* Fix new clippy warning
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Rodrigues Lordello <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/sign.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/sign.rs b/src/cmd/sign.rs index 6d61209..355ec57 100644 --- a/src/cmd/sign.rs +++ b/src/cmd/sign.rs @@ -154,9 +154,9 @@ pub fn run(options: Options) -> Result<()> { } fn permissive_hex_digest(s: &str) -> Result<[u8; 32]> { - Ok(cmd::permissive_hex(s)?[..] + cmd::permissive_hex(s)?[..] .try_into() - .context("message for signing must be exactly 32 bytes long")?) + .context("message for signing must be exactly 32 bytes long") } fn ether(s: &str) -> Result<U256> { |
