mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 05:43:08 +00:00
fix: try generic array dep
This commit is contained in:
parent
a205cc1505
commit
577171bc5c
@ -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"
|
||||
|
||||
@ -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)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user