diff --git a/pallas-network/src/miniprotocols/chainsync/client.rs b/pallas-network/src/miniprotocols/chainsync/client.rs index 9d28ec4e..3c48729d 100644 --- a/pallas-network/src/miniprotocols/chainsync/client.rs +++ b/pallas-network/src/miniprotocols/chainsync/client.rs @@ -281,10 +281,11 @@ where } /// Either requests the next block, or waits for one to become available. - /// + /// /// # Errors - /// - /// Returns an error if the message cannot be sent, or if the inbound message is invalid + /// + /// Returns an error if the message cannot be sent, or if the inbound + /// message is invalid pub async fn request_or_await_next(&mut self) -> Result, Error> { if self.has_agency() { self.request_next().await