mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 11:39:35 +00:00
fix validators api
This commit is contained in:
parent
b0d00cf7ea
commit
ec1fb9cf8d
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue