Format code work (#1116)

This commit is contained in:
bear
2021-09-07 17:52:30 +08:00
committed by Bastian Köcher
parent 8bb12bc888
commit 3c4167f11f
@@ -125,6 +125,7 @@ pub trait SourceClient<P: MessageLane>: RelayClient {
&self, &self,
id: SourceHeaderIdOf<P>, id: SourceHeaderIdOf<P>,
) -> Result<(SourceHeaderIdOf<P>, MessageNonce), Self::Error>; ) -> Result<(SourceHeaderIdOf<P>, MessageNonce), Self::Error>;
/// Get nonce of the latest message, which receiving has been confirmed by the target chain. /// Get nonce of the latest message, which receiving has been confirmed by the target chain.
async fn latest_confirmed_received_nonce( async fn latest_confirmed_received_nonce(
&self, &self,
@@ -180,6 +181,7 @@ pub trait TargetClient<P: MessageLane>: RelayClient {
&self, &self,
id: TargetHeaderIdOf<P>, id: TargetHeaderIdOf<P>,
) -> Result<(TargetHeaderIdOf<P>, MessageNonce), Self::Error>; ) -> Result<(TargetHeaderIdOf<P>, MessageNonce), Self::Error>;
/// Get state of unrewarded relayers set at the inbound lane. /// Get state of unrewarded relayers set at the inbound lane.
async fn unrewarded_relayers_state( async fn unrewarded_relayers_state(
&self, &self,