mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 15:53:14 +00:00
fix: lint build fix 1
This commit is contained in:
parent
d4a8cbd8d8
commit
d556c9b699
@ -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"
|
||||||
|
|||||||
@ -3,13 +3,10 @@ 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 generic_array::GenericArray;
|
||||||
|
use sha2::digest::typenum::{B0, B1};
|
||||||
use elliptic_curve::{
|
|
||||||
consts::{B0, B1},
|
|
||||||
generic_array::GenericArray,
|
|
||||||
};
|
|
||||||
use sha2::digest::typenum::{UInt, UTerm};
|
use sha2::digest::typenum::{UInt, UTerm};
|
||||||
|
use sha2::{Digest, digest::FixedOutput};
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub enum NSSATransaction {
|
pub enum NSSATransaction {
|
||||||
|
|||||||
@ -213,7 +213,7 @@ impl WalletCore {
|
|||||||
|
|
||||||
let res_acc = nssa_core::EncryptionScheme::decrypt(
|
let res_acc = nssa_core::EncryptionScheme::decrypt(
|
||||||
&acc_ead.ciphertext,
|
&acc_ead.ciphertext,
|
||||||
&secret,
|
secret,
|
||||||
&acc_comm,
|
&acc_comm,
|
||||||
output_index as u32,
|
output_index as u32,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user