docs: update old devnet and testnet url references

This commit is contained in:
Josh Hundley
2021-05-12 09:09:13 -07:00
committed by Tyera Eulberg
parent ae5a10dffd
commit ec621e71dc
4 changed files with 16 additions and 16 deletions

View File

@ -215,8 +215,8 @@ where
pub fn normalize_to_url_if_moniker<T: AsRef<str>>(url_or_moniker: T) -> String {
match url_or_moniker.as_ref() {
"m" | "mainnet-beta" => "https://api.mainnet-beta.solana.com",
"t" | "testnet" => "https://testnet.solana.com",
"d" | "devnet" => "https://devnet.solana.com",
"t" | "testnet" => "https://api.testnet.solana.com",
"d" | "devnet" => "https://api.devnet.solana.com",
"l" | "localhost" => "http://localhost:8899",
url => url,
}