mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
expose online client
This commit is contained in:
@@ -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