From 8ccbe888d372bbc4ea09172d9435e73b2c68a1bf Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 26 Sep 2018 14:21:48 -0700 Subject: [PATCH] Add breadcrumbs to some other available endpoints --- web3.js/examples/budget-timestamp.js | 3 ++- web3.js/test/connection.test.js | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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 = {