mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 04:35:41 +00:00
BlockId::Number refactor: trivial changes to BlockId::Hash (#12471)
* Trivial BlockId::Number => Hash * missed BlockId::Hash added
This commit is contained in:
committed by
GitHub
parent
8920b1c5b3
commit
09748f1b28
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user