From 4686542e108d9d3cfe640bf2bbf2e67a9a96d909 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Wed, 12 Jun 2019 16:56:57 +1000 Subject: [PATCH] bls: fix unused import warning --- eth2/utils/bls/src/aggregate_public_key.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth2/utils/bls/src/aggregate_public_key.rs b/eth2/utils/bls/src/aggregate_public_key.rs index 298046248..38637cec7 100644 --- a/eth2/utils/bls/src/aggregate_public_key.rs +++ b/eth2/utils/bls/src/aggregate_public_key.rs @@ -1,6 +1,5 @@ use super::PublicKey; use milagro_bls::AggregatePublicKey as RawAggregatePublicKey; -use serde_hex::encode as hex_encode; /// A BLS aggregate public key. /// @@ -26,6 +25,6 @@ impl AggregatePublicKey { /// Return a hex string representation of this key's bytes. #[cfg(test)] pub fn as_hex_string(&self) -> String { - hex_encode(self.as_raw().as_bytes()) + serde_hex::encode(self.as_raw().as_bytes()) } }