From 870cee750e93597b8d428cae146be18f9f326abc Mon Sep 17 00:00:00 2001 From: Leo Alt Date: Mon, 6 Feb 2023 11:43:06 +0100 Subject: [PATCH] Make fields of PrivateKey pub --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 0039b7d..fe84550 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -268,7 +268,7 @@ pub fn decompress_signature(b: &[u8; 64]) -> Result { } pub struct PrivateKey { - key: [u8; 32], + pub key: [u8; 32], } impl PrivateKey {