Merge pull request #5 from leonardoalt/make_sk_fields_pub

Make fields of PrivateKey pub
This commit is contained in:
arnaucube
2023-02-08 22:59:17 +01:00
committed by GitHub

View File

@@ -268,7 +268,7 @@ pub fn decompress_signature(b: &[u8; 64]) -> Result<Signature, String> {
}
pub struct PrivateKey {
key: [u8; 32],
pub key: [u8; 32],
}
impl PrivateKey {