diff --git a/accounts/src/account_core/mod.rs b/accounts/src/account_core/mod.rs index 0c7bbdd..38d9e9c 100644 --- a/accounts/src/account_core/mod.rs +++ b/accounts/src/account_core/mod.rs @@ -5,9 +5,7 @@ use common::{merkle_tree_public::TreeHashType, nullifier::UTXONullifier, transac use k256::AffinePoint; use log::info; use serde::Serialize; -use utxo::{ - utxo_core::{UTXOPayload, UTXO}, -}; +use utxo::utxo_core::{UTXOPayload, UTXO}; use crate::key_management::{ constants_types::{CipherText, Nonce}, diff --git a/node_core/src/lib.rs b/node_core/src/lib.rs index 25be979..5228e9b 100644 --- a/node_core/src/lib.rs +++ b/node_core/src/lib.rs @@ -1101,11 +1101,7 @@ impl NodeCore { .map(|new_utxo_hash| { let acc = write_guard.acc_map.get_mut(&acc_addr).unwrap(); - let new_utxo = acc - .utxos - .get(&new_utxo_hash) - .unwrap() - .clone(); + let new_utxo = acc.utxos.get(&new_utxo_hash).unwrap().clone(); new_utxo.log(); info!( @@ -1555,11 +1551,7 @@ impl NodeCore { .map(|(acc_addr_rec, new_utxo_hash)| { let acc = write_guard.acc_map.get_mut(&acc_addr_rec).unwrap(); - let new_utxo = acc - .utxos - .get(&new_utxo_hash) - .unwrap() - .clone(); + let new_utxo = acc.utxos.get(&new_utxo_hash).unwrap().clone(); new_utxo.log(); info!(