BlockId::Number refactor: trivial changes to BlockId::Hash (#12471)

* Trivial BlockId::Number => Hash

* missed BlockId::Hash added
This commit is contained in:
Michal Kucharczyk
2022-10-12 18:10:31 +02:00
committed by GitHub
parent 8920b1c5b3
commit 09748f1b28
6 changed files with 8 additions and 8 deletions
@@ -191,7 +191,7 @@ impl StorageCmd {
B: BlockT + Debug,
BA: ClientBackend<B>,
{
let block = BlockId::Number(client.usage_info().chain.best_number);
let block = BlockId::Hash(client.usage_info().chain.best_hash);
let empty_prefix = StorageKey(Vec::new());
let mut keys = client.storage_keys(&block, &empty_prefix)?;
let (mut rng, _) = new_rng(None);