mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
Merge branch 'next' into next-polkadot-sdk
This commit is contained in:
@@ -316,7 +316,7 @@ impl Serai {
|
||||
&self,
|
||||
network: ExternalNetworkId,
|
||||
) -> Result<Vec<multiaddr::Multiaddr>, SeraiError> {
|
||||
self.call("p2p_validators", network).await
|
||||
self.call("p2p_validators", [network]).await
|
||||
}
|
||||
|
||||
// TODO: move this to SeraiValidatorSets?
|
||||
@@ -324,7 +324,7 @@ impl Serai {
|
||||
&self,
|
||||
network: ExternalNetworkId,
|
||||
) -> Result<String, SeraiError> {
|
||||
self.call("external_network_address", network).await
|
||||
self.call("external_network_address", [network]).await
|
||||
}
|
||||
|
||||
// TODO: move this to SeraiInInstructions?
|
||||
|
||||
Reference in New Issue
Block a user