mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
Require signed authority discovery records (#5591)
Nodes are already publishing signed records since 0.9.17, but now we also enable the validation of the signature.
This commit is contained in:
@@ -992,6 +992,8 @@ where
|
||||
let (worker, service) = sc_authority_discovery::new_worker_and_service_with_config(
|
||||
sc_authority_discovery::WorkerConfig {
|
||||
publish_non_global_ips: auth_disc_publish_non_global_ips,
|
||||
// Require that authority discovery records are signed.
|
||||
strict_record_validation: true,
|
||||
..Default::default()
|
||||
},
|
||||
client.clone(),
|
||||
|
||||
Reference in New Issue
Block a user