Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix validators api
Browse files Browse the repository at this point in the history
akildemir committed Oct 29, 2024
1 parent b0d00cf commit ec1fb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/client/src/serai/validator_sets.rs
Original file line number Diff line number Diff line change
@@ -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?

0 comments on commit ec1fb9c

Please sign in to comment.