mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fmt
This commit is contained in:
parent
b3323c78cf
commit
361e3b6f76
@ -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;
|
||||
|
||||
@ -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};
|
||||
|
||||
@ -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};
|
||||
|
||||
|
||||
@ -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};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user