This commit is contained in:
jonesmarvin8 2026-04-01 12:48:44 -04:00
parent b53f02bf24
commit d4e6626c0c

View File

@ -64,7 +64,7 @@ impl PrivateKey {
pub fn tweak(value: &[u8; 32]) -> Result<Self, NssaError> {
if !Self::is_valid_key(*value) {
return Err(NssaError::InvalidPrivateKey)
return Err(NssaError::InvalidPrivateKey);
}
let sk = secp256k1::SecretKey::from_byte_array(*value).expect("Expect a valid secret key");