mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-17 16:16:09 +00:00
add api data() for inbound_lane (#1373)
This commit is contained in:
1 parent
eb1e48edba
commit
6a4144e8f2
1 file changed
+5
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user