This commit is contained in:
Sergio Chouhy 2025-07-21 19:04:49 -03:00
parent b3323c78cf
commit 361e3b6f76
4 changed files with 5 additions and 9 deletions

View File

@ -2,7 +2,7 @@ use std::collections::HashMap;
use anyhow::Result;
use common::{merkle_tree_public::TreeHashType, transaction::Tag};
use k256::{ecdsa::VerifyingKey, AffinePoint};
use k256::AffinePoint;
use log::info;
use serde::{Deserialize, Serialize};
use utxo::utxo_core::UTXO;

View File

@ -2,7 +2,6 @@ use aes_gcm::{aead::Aead, Aes256Gcm, KeyInit};
use common::merkle_tree_public::TreeHashType;
use constants_types::{CipherText, Nonce};
use elliptic_curve::point::AffineCoordinates;
use ephemeral_key_holder::EphemeralKeyHolder;
use k256::{ecdsa::SigningKey, AffinePoint, FieldBytes};
use log::info;
use rand::{rngs::OsRng, RngCore};

View File

@ -7,10 +7,7 @@ use serde::{
Deserialize, Deserializer, Serialize,
};
use crate::{
transaction::Transaction,
utxo_commitment::UTXOCommitment,
};
use crate::{transaction::Transaction, utxo_commitment::UTXOCommitment};
use super::{hasher::OwnHasher, tree_leav_item::TreeLeavItem, TreeHashType};

View File

@ -1,7 +1,7 @@
use k256::ecdsa::{
signature::hazmat::{PrehashSigner, PrehashVerifier},
Signature, SigningKey, VerifyingKey,
};
signature::hazmat::{PrehashSigner, PrehashVerifier},
Signature, SigningKey, VerifyingKey,
};
use log::info;
use secp256k1_zkp::{PedersenCommitment, Tweak};
use serde::{Deserialize, Serialize};