mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 01:11:07 +00:00
Check every minute whether authority-discovery key has changed (#8575)
* Check every minute whether authority-discovery key has changed * Fix test * Fix comment * Use HashSet for latest_published_keys * More fixing * God I'm tired, sorry
This commit is contained in:
1 parent
1f67933afc
commit
1b939bcb53
3 files changed
+44
-9
No files matched your search
@@ -294,7 +294,7 @@ fn publish_discover_cycle() {
|
||||
Default::default(),
|
||||
);
|
||||
|
||||
worker.publish_ext_addresses().await.unwrap();
|
||||
worker.publish_ext_addresses(false).await.unwrap();
|
||||
|
||||
// Expect authority discovery to put a new record onto the dht.
|
||||
assert_eq!(network.put_value_call.lock().unwrap().len(), 1);
|
||||
|
||||
Reference in new issue
Block a user