diff --git a/script/research/state_usage_analyser/src/main.rs b/script/research/state_usage_analyser/src/main.rs index 7b3cc4c1c..a63720a27 100644 --- a/script/research/state_usage_analyser/src/main.rs +++ b/script/research/state_usage_analyser/src/main.rs @@ -17,7 +17,7 @@ use darkfi::{ state::{state_transition, ProgramState}, Client, MemoryState, State, }, - util::{cli::progress_bar, expand_path}, + util::{cli::progress_bar, path::expand_path}, wallet::walletdb::init_wallet, }; diff --git a/src/consensus/clock.rs b/src/consensus/clock.rs index 50c6db38c..901130e2c 100644 --- a/src/consensus/clock.rs +++ b/src/consensus/clock.rs @@ -154,7 +154,7 @@ impl Clock { #[cfg(test)] mod tests { - use crate::consensus::clock::{Clock, Ticks}; + use super::{Clock, Ticks}; use futures::executor::block_on; use std::{thread, time::Duration}; #[test]