Skip to content

Commit

Permalink
Merge branch 'update-k2-rpc-url' into 'main'
Browse files Browse the repository at this point in the history
Update k2 rpc url

See merge request koii-network/tools!203
  • Loading branch information
smith-and-web committed Oct 13, 2023
2 parents 91d1b0e + 030b5f3 commit cb9e437
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ export function k2ClusterApiUrl(cluster: Cluster, tls?: boolean) {
return cluster;
}

if (cluster === "testnet") {
return "https://testnet.koii.live";
}

return clusterApiUrl(cluster, tls);
}

0 comments on commit cb9e437

Please sign in to comment.