Switch testnet url

This commit is contained in:
Michael Vines 2018-09-12 17:11:05 -07:00
parent 29148ef898
commit ad5390bbae
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
// Fetch account balance
let url;
url = 'http://localhost:8899';
//url = 'http://master.testnet.solana.com:8899';
//url = 'http://testnet.solana.com:8899';
const connection = new solanaWeb3.Connection(url);
connection.getBalance(account.publicKey)

View File

@ -10,7 +10,7 @@ const account = new solanaWeb3.Account();
let url;
url = 'http://localhost:8899';
//url = 'http://master.testnet.solana.com:8899';
//url = 'http://testnet.solana.com:8899';
const connection = new solanaWeb3.Connection(url);
connection.getBalance(account.publicKey)

View File

@ -4,7 +4,7 @@ import {Connection} from '../src/connection';
import {Account} from '../src/account';
import {mockRpc} from './__mocks__/node-fetch';
const url = 'http://master.testnet.solana.com:8899';
const url = 'http://testnet.solana.com:8899';
//const url = 'http://localhost:8899';
const errorMessage = 'Invalid request';