Skip to content

Commit

Permalink
add api data() for inbound_lane (paritytech#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 authored and serban300 committed Apr 10, 2024
1 parent dbc5609 commit c808b33
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 c808b33

Please sign in to comment.