mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-28 13:29:55 +00:00
expose online client
This commit is contained in:
1 file changed
+5
@@ -115,6 +115,11 @@ impl<T: Config> LightClient<T> {
|
||||
pub fn runtime_api(&self) -> RuntimeApiClient<T, Self> {
|
||||
<Self as OfflineClientT<T>>::runtime_api(self)
|
||||
}
|
||||
|
||||
/// Expose the OnlineClient that the LightClient struct wraps.
|
||||
pub fn inner_online_client(&self) -> &OnlineClient<T> {
|
||||
&self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Config> OnlineClientT<T> for LightClient<T> {
|
||||
|
||||
Reference in new issue
Block a user