From cfcaeeacf91e5250e3d211e5d196b9475e503cc4 Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Thu, 29 Apr 2021 07:17:01 +0000 Subject: 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] * Fix new clippy warning Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicholas Rodrigues Lordello --- src/cmd/sign.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3