Skip to content

Commit 2749af6

Browse files
committed
fix just lint
1 parent ee9dc32 commit 2749af6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • cryptography/src/bls12381/golden_dkg

cryptography/src/bls12381/golden_dkg/evrf.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ use crate::{
66
};
77
use bytes::{Buf, BufMut, Bytes};
88
use commonware_codec::{EncodeSize, Error as CodecError, FixedSize, Read, ReadExt, Write};
9+
use commonware_formatting::Hex;
910
use commonware_math::algebra::{CryptoGroup, Random};
10-
use commonware_utils::{hex, ordered::Map, union_unique, Array, Span, TryCollect};
11+
use commonware_utils::{ordered::Map, union_unique, Array, Span, TryCollect};
1112
use core::{
1213
fmt::{Debug, Display},
1314
hash::Hash,
@@ -223,13 +224,13 @@ impl Deref for PublicKey {
223224

224225
impl Debug for PublicKey {
225226
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
226-
write!(f, "{}", hex(self))
227+
write!(f, "{}", Hex(&**self))
227228
}
228229
}
229230

230231
impl Display for PublicKey {
231232
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
232-
write!(f, "{}", hex(self))
233+
write!(f, "{}", Hex(&**self))
233234
}
234235
}
235236

0 commit comments

Comments
 (0)