From d6a9135ba7086c67ae58aca65cb7302fa2ba8131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Bro=C5=84ski?= Date: Wed, 7 Feb 2024 13:19:50 +0100 Subject: [PATCH] Rename `CasperPublicKey::get()` into `to_bytes()`. --- kairos-cli/bin/crypto/public_key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {})