From 50f274d6c3373565258f3371e63557f3944e3654 Mon Sep 17 00:00:00 2001 From: nazeh Date: Wed, 28 Feb 2024 20:26:43 +0300 Subject: [PATCH] chore: publish 1.1.2 --- Cargo.lock | 2 +- pkarr/Cargo.toml | 2 +- pkarr/src/signed_packet.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a606ef1..73fac94 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -730,7 +730,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkarr" -version = "1.1.1" +version = "1.1.2" dependencies = [ "bytes", "clap", diff --git a/pkarr/Cargo.toml b/pkarr/Cargo.toml index 92add31..af0f013 100644 --- a/pkarr/Cargo.toml +++ b/pkarr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pkarr" -version = "1.1.1" +version = "1.1.2" authors = ["Nuh "] edition = "2021" description = "Public-Key Addressable Resource Records (Pkarr); publish and resolve DNS records over Mainline DHT" diff --git a/pkarr/src/signed_packet.rs b/pkarr/src/signed_packet.rs index 940f755..020c5ef 100644 --- a/pkarr/src/signed_packet.rs +++ b/pkarr/src/signed_packet.rs @@ -55,7 +55,7 @@ impl Inner { if verify_signature { public_key.verify(&signable(timestamp, encoded_packet), &signature)?; } - Self::try_from_bytes_and_parts(bytes.into(), public_key, timestamp, signature) + Self::try_from_bytes_and_parts(bytes, public_key, timestamp, signature) } fn try_from_response(public_key: PublicKey, response: Bytes) -> Result {