fix: lint build fix 1

This commit is contained in:
Oleksandr Pravdyvyi 2025-10-14 09:36:21 +03:00
parent d4a8cbd8d8
commit d556c9b699
No known key found for this signature in database
GPG Key ID: 9F8955C63C443871
3 changed files with 8 additions and 7 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

@ -3,13 +3,10 @@ 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 generic_array::GenericArray;
use sha2::digest::typenum::{B0, B1};
use sha2::digest::typenum::{UInt, UTerm};
use sha2::{Digest, digest::FixedOutput};
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum NSSATransaction {

View File

@ -213,7 +213,7 @@ impl WalletCore {
let res_acc = nssa_core::EncryptionScheme::decrypt(
&acc_ead.ciphertext,
&secret,
secret,
&acc_comm,
output_index as u32,
)