From 51872814b3ccc6c5a1e35ccaf9216a98c7516c29 Mon Sep 17 00:00:00 2001 From: haerdib Date: Tue, 19 Dec 2023 10:33:26 +0100 Subject: [PATCH] fix clippy --- examples/examples/runtime_update_async.rs | 2 +- examples/examples/runtime_update_sync.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/examples/runtime_update_async.rs b/examples/examples/runtime_update_async.rs index 524c4cb52..3d313abfa 100644 --- a/examples/examples/runtime_update_async.rs +++ b/examples/examples/runtime_update_async.rs @@ -16,7 +16,7 @@ use sp_keyring::AccountKeyring; use sp_weights::Weight; use substrate_api_client::{ ac_compose_macros::{compose_call, compose_extrinsic}, - ac_primitives::{AssetRuntimeConfig, Config, ExtrinsicSigner as GenericExtrinsicSigner}, + ac_primitives::{AssetRuntimeConfig, Config}, api_client::UpdateRuntime, rpc::JsonrpseeClient, rpc_api::RuntimeUpdateDetector, diff --git a/examples/examples/runtime_update_sync.rs b/examples/examples/runtime_update_sync.rs index 92f44ab4e..c02e13cdc 100644 --- a/examples/examples/runtime_update_sync.rs +++ b/examples/examples/runtime_update_sync.rs @@ -21,14 +21,13 @@ use sp_weights::Weight; use std::{sync::Arc, thread}; use substrate_api_client::{ ac_compose_macros::{compose_call, compose_extrinsic}, - ac_primitives::{AssetRuntimeConfig, Config, ExtrinsicSigner as GenericExtrinsicSigner}, + ac_primitives::{AssetRuntimeConfig, Config}, api_client::UpdateRuntime, rpc::JsonrpseeClient, rpc_api::RuntimeUpdateDetector, Api, SubmitAndWatch, SubscribeEvents, XtStatus, }; -type ExtrinsicSigner = GenericExtrinsicSigner; type Hash = ::Hash; #[cfg(not(feature = "sync-examples"))]