We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41547f9 commit fbcef36Copy full SHA for fbcef36
apps/hermes/server/src/state/cache.rs
@@ -136,7 +136,6 @@ pub trait Cache {
136
request_time: RequestTime,
137
filter: MessageStateFilter,
138
) -> Result<Vec<MessageState>>;
139
- ///
140
async fn is_cache_ready(&self) -> bool;
141
}
142
@@ -277,7 +276,6 @@ where
277
276
Ok(cache.get(&slot).cloned())
278
279
280
281
async fn is_cache_ready(&self) -> bool {
282
let message_cache = self.into().message_cache.read().await;
283
!message_cache.is_empty()
0 commit comments