this repo has no description

make code_of public

ptr.pet 68181911 da72566f

verified
+1 -1
+1 -1
crates/jacquard-common/src/types/crypto.rs
··· 53 53 } 54 54 55 55 #[cfg(feature = "crypto")] 56 - fn code_of(codec: KeyCodec) -> u64 { 56 + pub fn code_of(codec: KeyCodec) -> u64 { 57 57 match codec { 58 58 KeyCodec::Ed25519 => 0xED, 59 59 KeyCodec::Secp256k1 => 0xE7,