diff --git a/web3.js/examples/budget-timestamp.js b/web3.js/examples/budget-timestamp.js index 2f9c37ab61..9595383893 100644 --- a/web3.js/examples/budget-timestamp.js +++ b/web3.js/examples/budget-timestamp.js @@ -14,7 +14,8 @@ const contractState = new solanaWeb3.Account(); let url; url = 'http://localhost:8899'; -//url = 'http://testnet.solana.com:8899'; +//url = 'https://api.testnet.solana.com/master'; +//url = 'https://api.testnet.solana.com'; const connection = new solanaWeb3.Connection(url); function showBalance() { diff --git a/web3.js/test/connection.test.js b/web3.js/test/connection.test.js index 1482e2d8ba..5a8c6cbd1a 100644 --- a/web3.js/test/connection.test.js +++ b/web3.js/test/connection.test.js @@ -5,8 +5,9 @@ import {Connection} from '../src/connection'; import {SystemProgram} from '../src/system-program'; import {mockRpc} from './__mocks__/node-fetch'; -const url = 'http://testnet.solana.com:8899'; -//const url = 'http://localhost:8899'; +let url = 'http://testnet.solana.com:8899'; +//url = 'http://master.testnet.solana.com:8899'; +//url = 'http://localhost:8899'; const errorMessage = 'Invalid request'; const errorResponse = {