mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-08 20:09:54 +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,
|
&self,
|
||||||
network: NetworkId,
|
network: NetworkId,
|
||||||
) -> Result<Vec<Public>, SeraiError> {
|
) -> 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?
|
// TODO: Store these separately since we almost never need both at once?
|
||||||
|
|
Loading…
Reference in a new issue