#![allow(clippy::unwrap_in_result)]
use super::*;
impl<S, C> Handshake<S, C>
where
S: Service<Request, Response = Response, Error = BoxError> + Clone + Send + 'static,
S::Future: Send,
C: ChainTip + Clone + Send + 'static,
{
pub async fn nonce_count(&self) -> usize {
self.nonces.lock().await.len()
}
}