Explorar o código

clock, stage_usage_analyser: fixed broken dependencies

aggstam %!s(int64=3) %!d(string=hai) anos
pai
achega
693cb1b808
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      script/research/state_usage_analyser/src/main.rs
  2. 1 1
      src/consensus/clock.rs

+ 1 - 1
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,
 };
 

+ 1 - 1
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]