diff --git a/kairos-cli/bin/crypto/public_key.rs b/kairos-cli/bin/crypto/public_key.rs index f90b7fee..1a58b849 100644 --- a/kairos-cli/bin/crypto/public_key.rs +++ b/kairos-cli/bin/crypto/public_key.rs @@ -20,7 +20,7 @@ impl CasperPublicKey { } #[allow(unused)] - fn get(&self) -> Result, CryptoError> { + fn to_bytes(&self) -> Result, CryptoError> { self.0 .to_bytes() .map_err(|_e| CryptoError::Serialization {})