Skip to content

Commit

Permalink
Rename CasperPublicKey::get() into to_bytes().
Browse files Browse the repository at this point in the history
  • Loading branch information
koxu1996 committed Feb 7, 2024
1 parent 0744fd5 commit d6a9135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kairos-cli/bin/crypto/public_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl CasperPublicKey {
}

#[allow(unused)]
fn get(&self) -> Result<Vec<u8>, CryptoError> {
fn to_bytes(&self) -> Result<Vec<u8>, CryptoError> {
self.0
.to_bytes()
.map_err(|_e| CryptoError::Serialization {})
Expand Down

0 comments on commit d6a9135

Please sign in to comment.