fix: try generic array dep

This commit is contained in:
Oleksandr Pravdyvyi 2025-10-13 16:12:43 +03:00
parent a205cc1505
commit 577171bc5c
No known key found for this signature in database
GPG Key ID: 9F8955C63C443871
2 changed files with 6 additions and 4 deletions

View File

@ -19,5 +19,9 @@ hex.workspace = true
nssa-core = { path = "../nssa/core", features = ["host"] }
borsh.workspace = true
[dependencies.generic-array]
version = "1.3.3"
features = ["zeroize"]
[dependencies.nssa]
path = "../nssa"

View File

@ -1,14 +1,12 @@
use borsh::{BorshDeserialize, BorshSerialize};
use generic_array::GenericArray;
use k256::ecdsa::{Signature, SigningKey, VerifyingKey};
use log::info;
use serde::{Deserialize, Serialize};
use sha2::{Digest, digest::FixedOutput};
use elliptic_curve::{
consts::{B0, B1},
generic_array::GenericArray,
};
use sha2::digest::typenum::{B0, B1};
use sha2::digest::typenum::{UInt, UTerm};
#[derive(Debug, Clone, PartialEq, Eq)]