mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-13 06:29:25 +00:00
fix validators api
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user