mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 22:03:06 +00:00
taplo
This commit is contained in:
parent
490ac908b8
commit
9d8c74ec1e
0
ci_scripts/lint-ubuntu.sh
Normal file → Executable file
0
ci_scripts/lint-ubuntu.sh
Normal file → Executable file
@ -8,4 +8,3 @@ risc0-build = { version = "2.3.1" }
|
||||
|
||||
[package.metadata.risc0]
|
||||
methods = ["guest"]
|
||||
|
||||
|
||||
@ -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" }
|
||||
|
||||
@ -2,4 +2,3 @@
|
||||
channel = "stable"
|
||||
components = ["rustfmt", "rust-src"]
|
||||
profile = "minimal"
|
||||
|
||||
|
||||
@ -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)?;
|
||||
|
||||
@ -8,4 +8,3 @@ risc0-build = { version = "2.3.1" }
|
||||
|
||||
[package.metadata.risc0]
|
||||
methods = ["guest"]
|
||||
|
||||
|
||||
@ -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" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user