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
7a117150ef
commit
7572188ab0
@ -1,9 +1,9 @@
|
||||
use aes_gcm::{aead::Aead, AeadCore, Aes256Gcm, Key, KeyInit};
|
||||
use elliptic_curve::point::AffineCoordinates;
|
||||
use elliptic_curve::PrimeField;
|
||||
use k256::{AffinePoint, FieldBytes, Scalar};
|
||||
use log::info;
|
||||
use rand::{rngs::OsRng, RngCore};
|
||||
use elliptic_curve::point::AffineCoordinates;
|
||||
|
||||
use super::constants_types::{CipherText, Nonce};
|
||||
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
use aes_gcm::{aead::Aead, Aes256Gcm, Key, KeyInit};
|
||||
use common::merkle_tree_public::TreeHashType;
|
||||
use constants_types::{CipherText, Nonce};
|
||||
use elliptic_curve::point::AffineCoordinates;
|
||||
use ephemeral_key_holder::EphemeralKeyHolder;
|
||||
use k256::AffinePoint;
|
||||
use log::info;
|
||||
use secret_holders::{SeedHolder, TopSecretKeyHolder, UTXOSecretKeyHolder};
|
||||
use elliptic_curve::point::AffineCoordinates;
|
||||
|
||||
use crate::account_core::PublicKey;
|
||||
|
||||
@ -110,14 +110,13 @@ mod tests {
|
||||
};
|
||||
use constants_types::{CipherText, Nonce};
|
||||
use constants_types::{NULLIFIER_SECRET_CONST, VIEWING_SECRET_CONST};
|
||||
use elliptic_curve::{ff::Field, PrimeField};
|
||||
use elliptic_curve::group::prime::PrimeCurveAffine;
|
||||
use k256::{AffinePoint, ProjectivePoint, Scalar};
|
||||
use elliptic_curve::point::AffineCoordinates;
|
||||
use elliptic_curve::{ff::Field, PrimeField};
|
||||
use k256::{AffinePoint, ProjectivePoint, Scalar};
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
#[test]
|
||||
fn test_new_os_random() {
|
||||
// Ensure that a new AddressKeyHolder instance can be created without errors.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user