This commit is contained in:
Sergio Chouhy 2025-08-13 09:48:02 -03:00
parent 490ac908b8
commit 9d8c74ec1e
7 changed files with 3 additions and 8 deletions

0
ci_scripts/lint-ubuntu.sh Normal file → Executable file
View File

View File

@ -8,4 +8,3 @@ risc0-build = { version = "2.3.1" }
[package.metadata.risc0]
methods = ["guest"]

View File

@ -7,5 +7,4 @@ edition = "2021"
[dependencies]
risc0-zkvm = { version = "2.3.1", default-features = false, features = ['std'] }
nssa-core = {path = "../../core"}
nssa-core = { path = "../../core" }

View File

@ -2,4 +2,3 @@
channel = "stable"
components = ["rustfmt", "rust-src"]
profile = "minimal"

View File

@ -15,7 +15,7 @@ impl PublicKey {
Self(value)
}
pub fn try_new(value: [u8; 32]) -> Result<Self, NssaError> {
pub(super) fn try_new(value: [u8; 32]) -> Result<Self, NssaError> {
// Check point is valid
let _ = secp256k1::XOnlyPublicKey::from_byte_array(value)
.map_err(|_| NssaError::InvalidPublicKey)?;

View File

@ -8,4 +8,3 @@ risc0-build = { version = "2.3.1" }
[package.metadata.risc0]
methods = ["guest"]

View File

@ -7,5 +7,4 @@ edition = "2021"
[dependencies]
risc0-zkvm = { version = "2.3.1", default-features = false, features = ['std'] }
nssa-core = {path = "../../core"}
nssa-core = { path = "../../core" }