mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 05:43:08 +00:00
fix tests
This commit is contained in:
parent
b3d96d8b53
commit
e75db3b73d
@ -262,6 +262,7 @@ mod tests {
|
||||
use super::*;
|
||||
use std::{fmt::format, path::PathBuf};
|
||||
|
||||
use secp256k1_zkp::Tweak;
|
||||
use rand::Rng;
|
||||
use storage::transaction::{Transaction, TxKind};
|
||||
use transaction_mempool::TransactionMempool;
|
||||
@ -289,6 +290,8 @@ mod tests {
|
||||
utxo_commitments_spent_hashes: Vec<[u8; 32]>,
|
||||
utxo_commitments_created_hashes: Vec<[u8; 32]>,
|
||||
) -> Transaction {
|
||||
let mut rng = rand::thread_rng();
|
||||
|
||||
Transaction {
|
||||
hash,
|
||||
tx_kind: TxKind::Private,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user