From 64658c33eef7100d366575f8724aa442af897e11 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 7 Nov 2018 08:52:01 -0800 Subject: [PATCH] docs: update examples --- web3.js/examples/account.html | 2 +- web3.js/examples/bpf-c-noop/src/noop.c | 2 ++ web3.js/examples/get-balance.html | 10 ++++------ web3.js/examples/get-balance.js | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web3.js/examples/account.html b/web3.js/examples/account.html index dcd3386aad..32eb6d3acc 100644 --- a/web3.js/examples/account.html +++ b/web3.js/examples/account.html @@ -9,7 +9,7 @@ diff --git a/web3.js/examples/get-balance.js b/web3.js/examples/get-balance.js index a8dc5e632a..0290564987 100644 --- a/web3.js/examples/get-balance.js +++ b/web3.js/examples/get-balance.js @@ -9,8 +9,8 @@ const solanaWeb3 = require('..'); const account = new solanaWeb3.Account(); let url; -url = 'http://localhost:8899'; -//url = 'http://testnet.solana.com:8899'; +url = 'https://api.testnet.solana.com'; +//url = 'http://localhost:8899'; const connection = new solanaWeb3.Connection(url); connection.getBalance(account.publicKey).then(balance => {