Skip to content
Snippets Groups Projects
Commit acf72749 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

clippy

parent 03def054
No related branches found
No related tags found
1 merge request!15update to runtime 800
This commit is part of merge request !15. Comments created here will be created in the context of that merge request.
......@@ -14,26 +14,22 @@ fn session_keys_decode(session_keys: SessionKeys) -> RuntimeSessionKeys {
runtime::runtime_types::sp_core::ed25519::Public(
session_keys[0..32].try_into().unwrap(),
),
)
.into(),
),
babe: runtime::runtime_types::sp_consensus_babe::app::Public(
runtime::runtime_types::sp_core::sr25519::Public(
session_keys[32..64].try_into().unwrap(),
),
)
.into(),
),
im_online: runtime::runtime_types::pallet_im_online::sr25519::app_sr25519::Public(
runtime::runtime_types::sp_core::sr25519::Public(
session_keys[64..96].try_into().unwrap(),
),
)
.into(),
),
authority_discovery: runtime::runtime_types::sp_authority_discovery::app::Public(
runtime::runtime_types::sp_core::sr25519::Public(
session_keys[96..128].try_into().unwrap(),
),
)
.into(),
),
}
}
......
......@@ -51,6 +51,6 @@ pub async fn set_distance_ok(data: &Data, identity: IdtyId) -> Result<(), subxt:
submit_call_and_look_event::<
runtime::sudo::events::Sudid,
Payload<runtime::sudo::calls::types::Sudo>,
>(data, &runtime::tx().sudo().sudo(inner.into()))
>(data, &runtime::tx().sudo().sudo(inner))
.await
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment