Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Dec 19, 2023
1 parent 9936212 commit 5187281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/examples/runtime_update_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions examples/examples/runtime_update_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<AssetRuntimeConfig>;
type Hash = <AssetRuntimeConfig as Config>::Hash;

#[cfg(not(feature = "sync-examples"))]
Expand Down

0 comments on commit 5187281

Please sign in to comment.