mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
add api data() for inbound_lane (#1373)
This commit is contained in:
@@ -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