From 693cb1b808aa85a7254f38693b2f93e77b94d52e Mon Sep 17 00:00:00 2001 From: aggstam Date: Mon, 10 Oct 2022 13:30:34 +0300 Subject: [PATCH] clock, stage_usage_analyser: fixed broken dependencies --- script/research/state_usage_analyser/src/main.rs | 2 +- src/consensus/clock.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]