fix validators api

This commit is contained in:
akildemir 2024-10-29 10:37:15 +03:00
parent b0d00cf7ea
commit ec1fb9cf8d

View file

@ -163,7 +163,7 @@ impl<'a> SeraiValidatorSets<'a> {
&self,
network: NetworkId,
) -> Result<Vec<Public>, SeraiError> {
self.0.runtime_api("SeraiRuntimeApi_validators", network).await
self.0.runtime_api("ValidatorSetsApi_validators", network).await
}
// TODO: Store these separately since we almost never need both at once?