mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 15:53:14 +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"] }
|
nssa-core = { path = "../nssa/core", features = ["host"] }
|
||||||
borsh.workspace = true
|
borsh.workspace = true
|
||||||
|
|
||||||
|
[dependencies.generic-array]
|
||||||
|
version = "1.3.3"
|
||||||
|
features = ["zeroize"]
|
||||||
|
|
||||||
[dependencies.nssa]
|
[dependencies.nssa]
|
||||||
path = "../nssa"
|
path = "../nssa"
|
||||||
|
|||||||
@ -1,14 +1,12 @@
|
|||||||
use borsh::{BorshDeserialize, BorshSerialize};
|
use borsh::{BorshDeserialize, BorshSerialize};
|
||||||
|
use generic_array::GenericArray;
|
||||||
use k256::ecdsa::{Signature, SigningKey, VerifyingKey};
|
use k256::ecdsa::{Signature, SigningKey, VerifyingKey};
|
||||||
use log::info;
|
use log::info;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use sha2::{Digest, digest::FixedOutput};
|
use sha2::{Digest, digest::FixedOutput};
|
||||||
|
|
||||||
use elliptic_curve::{
|
use sha2::digest::typenum::{B0, B1};
|
||||||
consts::{B0, B1},
|
|
||||||
generic_array::GenericArray,
|
|
||||||
};
|
|
||||||
use sha2::digest::typenum::{UInt, UTerm};
|
use sha2::digest::typenum::{UInt, UTerm};
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user