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
+1 -1
View File
@@ -769,7 +769,7 @@ mod tests {
assert_eq!(client.chain_info().best_number, 0);
assert_eq!(
authorities(&client, &BlockId::Number(0)).unwrap(),
authorities(&client, &BlockId::Hash(client.chain_info().best_hash)).unwrap(),
vec![
Keyring::Alice.public().into(),
Keyring::Bob.public().into(),