mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-13 10:25:50 +00:00
Pluralise newHead (#3463)
This commit is contained in:
committed by
Gavin Wood
parent
a3e2a710c8
commit
986876e174
@@ -202,7 +202,7 @@ fn should_notify_about_latest_block() {
|
||||
subscriptions: Subscriptions::new(Arc::new(remote)),
|
||||
};
|
||||
|
||||
api.subscribe_new_head(Default::default(), subscriber);
|
||||
api.subscribe_new_heads(Default::default(), subscriber);
|
||||
|
||||
// assert id assigned
|
||||
assert_eq!(core.block_on(id), Ok(Ok(SubscriptionId::Number(1))));
|
||||
|
||||
Reference in New Issue
Block a user