From 998568ab76cc8ba36fe47d5fca17bcc997aa391c Mon Sep 17 00:00:00 2001 From: hozan23 Date: Thu, 23 May 2024 15:43:04 +0200 Subject: p2p: wrap the buckets with mutex in RoutingTable --- p2p/examples/monitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p2p/examples/monitor.rs') diff --git a/p2p/examples/monitor.rs b/p2p/examples/monitor.rs index 1629207..cda8972 100644 --- a/p2p/examples/monitor.rs +++ b/p2p/examples/monitor.rs @@ -1,6 +1,6 @@ mod shared; -use std::{sync::Arc, time::Duration}; +use std::sync::Arc; use clap::Parser; use log::error; -- cgit v1.2.3