add api data() for inbound_lane (#1373)

This commit is contained in:
xiaoch05
2022-04-14 14:02:16 +08:00
committed by Bastian Köcher
parent eb1e48edba
commit 6a4144e8f2
@@ -71,6 +71,11 @@ impl<S: InboundLaneStorage> InboundLane<S> {
InboundLane { storage }
}
/// Get this lane data
pub fn data(&self) -> InboundLaneData<S::Relayer> {
self.storage.data()
}
/// Receive state of the corresponding outbound lane.
pub fn receive_state_update(
&mut self,