pub async fn ack_commit_notification(
        &mut self,
        mempool_commit_notification: MempoolCommitNotification,
    ) -> Result<(), Error> {
        mempool_commit_notification
            .callback
            .send(MempoolNotificationResponse::Success)
            .map_err(|error| Error::UnexpectedErrorEncountered(format!("{:?}", error)))
    }
/// Respond (succesfully) to the commit notification previously sent by state sync.
Respond (succesfully) to the commit notification previously sent by state sync.
Respond ( succesfully ) to the commit notification previously sent by state sync .
pub async fn ack_commit_notification(
        &mut self,
        mempool_commit_notification: MempoolCommitNotification,
    ) -> Result<(), Error> {
        mempool_commit_notification
            .callback
            .send(MempoolNotificationResponse::Success)
            .map_err(|error| Error::UnexpectedErrorEncountered(format!("{:?}", error)))
    }
pub async fn ack_commit_notification ( & mut self , mempool_commit_notification : MempoolCommitNotification , ) -> Result < ( ) , Error > { mempool_commit_notification . callback . send ( MempoolNotificationResponse :: Success ) . map_err ( | error | Error :: UnexpectedErrorEncountered ( format ! ( " " error ) ) ) }
Respond (succesfully) to the commit notification previously sent by state sync.
Respond ( succesfully ) to the commit notification previously sent by state sync .
&mut self
mempool_commit_notification
MempoolCommitNotification