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 9, 2024
1 parent e01454c commit 5c7bce5
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 5c7bce5

Please sign in to comment.