mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
bump substrate+polkadot refs and fix builds (#1989)
* bump refs and fix build * more fixes * Fix rialto-parachain node * Update dependencies for tools/runtime-codegen * Regenerate rialto-parachain indirect runtime * Fix register_parachain * Fix clippy * Undo clippy allow --------- Co-authored-by: Serban Iorga <serban@parity.io>
This commit is contained in:
committed by
Bastian Köcher
parent
830afff353
commit
e55d4dd6e0
@@ -739,12 +739,12 @@ impl<C: Chain> Client<C> {
|
||||
async fn jsonrpsee_execute<MF, F, T>(&self, make_jsonrpsee_future: MF) -> Result<T>
|
||||
where
|
||||
MF: FnOnce(Arc<RpcClient>) -> F + Send + 'static,
|
||||
F: Future<Output = Result<T>> + Send,
|
||||
F: Future<Output = Result<T>> + Send + 'static,
|
||||
T: Send + 'static,
|
||||
{
|
||||
let data = self.data.read().await;
|
||||
let client = data.client.clone();
|
||||
data.tokio.spawn(async move { make_jsonrpsee_future(client).await }).await?
|
||||
data.tokio.spawn(make_jsonrpsee_future(client)).await?
|
||||
}
|
||||
|
||||
/// Returns `true` if version guard can be started.
|
||||
|
||||
Reference in New Issue
Block a user