remove OutboundLaneApi::latest_received_nonce (#1262)

This commit is contained in:
Svyatoslav Nikolsky
2021-12-23 12:50:39 +03:00
committed by Bastian Köcher
parent 13a3974f27
commit 988f6b1664
17 changed files with 9 additions and 64 deletions
-5
View File
@@ -769,11 +769,6 @@ pub mod pallet {
OutboundLanes::<T, I>::get(&lane).latest_generated_nonce
}
/// Get nonce of the latest confirmed message at given outbound lane.
pub fn outbound_latest_received_nonce(lane: LaneId) -> MessageNonce {
OutboundLanes::<T, I>::get(&lane).latest_received_nonce
}
/// Get nonce of the latest received message at given inbound lane.
pub fn inbound_latest_received_nonce(lane: LaneId) -> MessageNonce {
InboundLanes::<T, I>::get(&lane).last_delivered_nonce()