mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-18 08:36:08 +00:00
BlockId::Number refactor: trivial changes to BlockId::Hash (#12471)
* Trivial BlockId::Number => Hash * missed BlockId::Hash added
This commit is contained in:
1 parent
8920b1c5b3
commit
09748f1b28
6 files changed
+8
-8
No files matched your search
@@ -41,7 +41,7 @@ impl StorageCmd {
|
||||
<<B as BlockT>::Header as HeaderT>::Number: From<u32>,
|
||||
{
|
||||
let mut record = BenchRecord::default();
|
||||
let block = BlockId::Number(client.usage_info().chain.best_number);
|
||||
let block = BlockId::Hash(client.usage_info().chain.best_hash);
|
||||
|
||||
info!("Preparing keys from block {}", block);
|
||||
// Load all keys and randomly shuffle them.
|
||||
|
||||
Reference in new issue
Block a user