InboundLaneApi::latest_confirmed_nonce (#429)

* InboundLaneApi::latest_confirmed_nonce

* Fix wording and typo

Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
This commit is contained in:
Svyatoslav Nikolsky
2020-10-22 19:19:57 +03:00
committed by Bastian Köcher
parent a37c1762dc
commit 5accb2b339
2 changed files with 12 additions and 4 deletions
@@ -136,5 +136,7 @@ decl_runtime_apis! {
pub trait InboundLaneApi {
/// Returns nonce of the latest message, received by given lane.
fn latest_received_nonce(lane: LaneId) -> MessageNonce;
/// Nonce of latest message that has been confirmed to the bridged chain.
fn latest_confirmed_nonce(lane: LaneId) -> MessageNonce;
}
}