mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 15:53:14 +00:00
fix imports
This commit is contained in:
parent
81f0cf72ae
commit
ecaa6874ce
@ -5,7 +5,7 @@ use common::{merkle_tree_public::TreeHashType, transaction::Tag};
|
|||||||
use k256::AffinePoint;
|
use k256::AffinePoint;
|
||||||
use log::info;
|
use log::info;
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
use utxo::utxo_core::{UTXOPayload, UTXO};
|
use utxo::utxo_core::UTXO;
|
||||||
|
|
||||||
use crate::key_management::{
|
use crate::key_management::{
|
||||||
constants_types::{CipherText, Nonce},
|
constants_types::{CipherText, Nonce},
|
||||||
@ -148,14 +148,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
fn generate_dummy_utxo(address: TreeHashType, amount: u128) -> UTXO {
|
fn generate_dummy_utxo(address: TreeHashType, amount: u128) -> UTXO {
|
||||||
let payload = UTXOPayload {
|
UTXO::new(address, vec![], amount, false)
|
||||||
owner: address,
|
|
||||||
asset: vec![],
|
|
||||||
amount,
|
|
||||||
privacy_flag: false,
|
|
||||||
randomness: [0u8; 32],
|
|
||||||
};
|
|
||||||
UTXO::create_utxo_from_payload(payload)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user