From 1eefdeba851ec03052c65eeb6d0ae13f4c2eeb6a Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Wed, 1 Dec 2021 12:19:06 -0600 Subject: [PATCH] AcctIdx: cleanup trait (#21522) --- runtime/src/accounts_index.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runtime/src/accounts_index.rs b/runtime/src/accounts_index.rs index b05ae254b3..2ce7ea4b1a 100644 --- a/runtime/src/accounts_index.rs +++ b/runtime/src/accounts_index.rs @@ -97,9 +97,7 @@ impl ScanConfig { pub(crate) type AccountMapEntry = Arc>; -pub trait IsCached: - 'static + Clone + Debug + PartialEq + ZeroLamport + Copy + Default + Sync + Send -{ +pub trait IsCached { fn is_cached(&self) -> bool; }