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