bls: fix unused import warning
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())
}
}
