From ec1fb9cf8d0a0ac9e7d458ab98e14a721b0db214 Mon Sep 17 00:00:00 2001 From: akildemir Date: Tue, 29 Oct 2024 10:37:15 +0300 Subject: [PATCH] fix validators api --- substrate/client/src/serai/validator_sets.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/client/src/serai/validator_sets.rs b/substrate/client/src/serai/validator_sets.rs index 5bfb3ed5..07339ef8 100644 --- a/substrate/client/src/serai/validator_sets.rs +++ b/substrate/client/src/serai/validator_sets.rs @@ -163,7 +163,7 @@ impl<'a> SeraiValidatorSets<'a> { &self, network: NetworkId, ) -> Result, 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?