We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee9dc32 commit 2749af6Copy full SHA for 2749af6
1 file changed
cryptography/src/bls12381/golden_dkg/evrf.rs
@@ -6,8 +6,9 @@ use crate::{
6
};
7
use bytes::{Buf, BufMut, Bytes};
8
use commonware_codec::{EncodeSize, Error as CodecError, FixedSize, Read, ReadExt, Write};
9
+use commonware_formatting::Hex;
10
use commonware_math::algebra::{CryptoGroup, Random};
-use commonware_utils::{hex, ordered::Map, union_unique, Array, Span, TryCollect};
11
+use commonware_utils::{ordered::Map, union_unique, Array, Span, TryCollect};
12
use core::{
13
fmt::{Debug, Display},
14
hash::Hash,
@@ -223,13 +224,13 @@ impl Deref for PublicKey {
223
224
225
impl Debug for PublicKey {
226
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
- write!(f, "{}", hex(self))
227
+ write!(f, "{}", Hex(&**self))
228
}
229
230
231
impl Display for PublicKey {
232
233
234
235
236
0 commit comments