From 836a4f641783971999f9a40822a168a4653e15dd Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Tue, 16 Jan 2024 12:14:17 +0800 Subject: [PATCH] Remove ActiveChain's state field --- sync/src/types/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/sync/src/types/mod.rs b/sync/src/types/mod.rs index ac111eedda..54b1dbfc47 100644 --- a/sync/src/types/mod.rs +++ b/sync/src/types/mod.rs @@ -1355,7 +1355,6 @@ impl SyncShared { ActiveChain { shared: self.clone(), snapshot: Arc::clone(&self.shared.snapshot()), - state: Arc::clone(&self.state), } } @@ -2048,7 +2047,6 @@ impl SyncState { pub struct ActiveChain { shared: SyncShared, snapshot: Arc, - state: Arc, } #[doc(hidden)]