Skip to content

Commit 6a4144e

Browse files
xiaoch05bkchr
authored andcommitted
add api data() for inbound_lane (#1373)
1 parent eb1e48e commit 6a4144e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bridges/modules/messages/src/inbound_lane.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ impl<S: InboundLaneStorage> InboundLane<S> {
7171
InboundLane { storage }
7272
}
7373

74+
/// Get this lane data
75+
pub fn data(&self) -> InboundLaneData<S::Relayer> {
76+
self.storage.data()
77+
}
78+
7479
/// Receive state of the corresponding outbound lane.
7580
pub fn receive_state_update(
7681
&mut self,

0 commit comments

Comments
 (0)