Skip to content

Commit

Permalink
add api data() for inbound_lane (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 authored Apr 14, 2022
1 parent c645245 commit 9e3cb0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bridges/modules/messages/src/inbound_lane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9e3cb0c

Please sign in to comment.