mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-23 21:21:06 +00:00
staking-miner: remove need of a file to pass the seed (#3680)
* staking-miner: remove need of a file to pass the seed * cleanup * linting round * fix linting * fix naming and remove unused field
This commit is contained in:
@@ -82,7 +82,7 @@ where
|
||||
Hash: serde::Serialize,
|
||||
{
|
||||
let key = <V as StorageValue<T>>::hashed_key();
|
||||
get_storage::<V::Query>(&client, params! { key, maybe_at }).await
|
||||
get_storage::<V::Query>(client, params! { key, maybe_at }).await
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
@@ -103,5 +103,5 @@ where
|
||||
Hash: serde::Serialize,
|
||||
{
|
||||
let key = <M as StorageMap<K, T>>::hashed_key_for(key);
|
||||
get_storage::<M::Query>(&client, params! { key, maybe_at }).await
|
||||
get_storage::<M::Query>(client, params! { key, maybe_at }).await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user