From 91592aa2268ae5e868554b4eeea1f5c8d46b0ac3 Mon Sep 17 00:00:00 2001 From: Surinder Singh Matoo Date: Tue, 10 Dec 2024 08:26:27 +0530 Subject: [PATCH] Update transactions.rs --- core/src/tests/transactions.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/tests/transactions.rs b/core/src/tests/transactions.rs index c0f9311..6cc08ee 100644 --- a/core/src/tests/transactions.rs +++ b/core/src/tests/transactions.rs @@ -1,6 +1,5 @@ use crate::imports::*; use kaspa_wallet_core::tx::mass::MassCalculator; -use kaspa_wallet_core::utxo::NetworkParams; #[test] fn test_generic_transaction_mass() { @@ -61,7 +60,7 @@ fn test_generic_transaction_mass() { ); for network in Network::iter() { - let calc = MassCalculator::new(&network.into(), NetworkParams::from(network.into())); + let calc = MassCalculator::new(&network.into()); let mass = calc.calc_compute_mass_for_unsigned_consensus_transaction(&tx, 1); println!("compute transaction mass for {} is {}", network, mass); }