Default to mainnet-beta (#9326)

This commit is contained in:
Greg Fitzgerald
2020-04-06 15:47:37 -06:00
committed by GitHub
parent 75234e28e5
commit 1c73f3e100

View File

@ -26,7 +26,7 @@ impl Default for Config {
keypair_path.extend(&[".config", "solana", "id.json"]);
keypair_path.to_str().unwrap().to_string()
};
let json_rpc_url = "http://127.0.0.1:8899".to_string();
let json_rpc_url = "https://api.mainnet-beta.solana.com".to_string();
// Empty websocket_url string indicates the client should
// `Config::compute_websocket_url(&json_rpc_url)`