Merge pull request #3883 from nymtech/ci/fix-clippy-error

fix ci failing builds on clippy errors
This commit is contained in:
Tommy Verrall
2023-09-14 11:31:02 +02:00
committed by GitHub
+1 -2
View File
@@ -242,8 +242,7 @@ impl PrivateKey {
/// Signs text with the provided Ed25519 private key, returning a base58 signature
pub fn sign_text(&self, text: &str) -> String {
let signature_bytes = self.sign(text.as_ref()).to_bytes();
let signature = bs58::encode(signature_bytes).into_string();
signature
bs58::encode(signature_bytes).into_string()
}
}