From 9d91cca73c1b2c1a8119dc5391bf619b2d2095e3 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Tue, 28 Apr 2020 15:47:41 -0600 Subject: [PATCH] Remove commented code --- core/src/rpc_subscriptions.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/src/rpc_subscriptions.rs b/core/src/rpc_subscriptions.rs index 04e91312b..3432542b8 100644 --- a/core/src/rpc_subscriptions.rs +++ b/core/src/rpc_subscriptions.rs @@ -246,15 +246,6 @@ pub struct RpcSubscriptions { exit: Arc, } -// impl Default for RpcSubscriptions { -// fn default() -> Self { -// Self::new( -// &Arc::new(AtomicBool::new(false)), -// Arc::new(RwLock::new(BlockCommitmentCache::default())), -// ) -// } -// } - impl Drop for RpcSubscriptions { fn drop(&mut self) { self.shutdown().unwrap_or_else(|err| {