/// Writes the threshold signing public key of the given subnet to the given
/// path.
Writes the threshold signing public key of the given subnet to the given
path.
Writes the threshold signing public key of the given subnet to the given path .
async fn store_subnet_pk<P: AsRef<Path>>(
    registry: &RegistryCanister,
    subnet: SubnetDescriptor,
    path: P,
) {
    let subnet_id = subnet.get_id(registry).await;
    let pk = get_subnet_pk(registry, subnet_id).await;
    store_threshold_sig_pk(&pk, path);
}
async fn store_subnet_pk < P : AsRef < Path > > ( registry : & RegistryCanister , subnet : SubnetDescriptor , path : P , ) { let subnet_id = subnet . get_id ( registry ) . await ; let pk = get_subnet_pk ( registry , subnet_id ) . await ; store_threshold_sig_pk ( & pk , path ) ; }
Writes the threshold signing public key of the given subnet to the given
path.
Writes the threshold signing public key of the given subnet to the given path .
registry
&RegistryCanister
subnet
SubnetDescriptor
path
P