mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-24 12:37:17 +00:00
bls: fix unused import warning
This commit is contained in:
parent
0da63a0e65
commit
4686542e10
@ -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())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user