Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hansieodendaal committed Nov 26, 2021
1 parent c638d68 commit 754f1e7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use log::*;

use std::{
convert::TryFrom,
thread::sleep,
time::{Duration, Instant},
};
use tari_common_types::transaction::TxId;
Expand All @@ -49,7 +48,7 @@ use tari_core::{
},
};
use tari_shutdown::ShutdownSignal;
use tokio::sync::broadcast;
use tokio::{sync::broadcast, time};

use crate::{
error::WalletError,
Expand Down Expand Up @@ -129,7 +128,7 @@ where TBackend: WalletBackend + 'static
debug!(target: LOG_TARGET, "Disconnected base node peer {}", peer);
}
};
sleep(Duration::from_secs(30));
let _ = time::sleep(Duration::from_secs(30));
}

Err(e.into())
Expand Down

0 comments on commit 754f1e7

Please sign in to comment.