fix: support http endpoints (#433)

This commit is contained in:
Michael Vines
2019-07-26 14:54:51 -07:00
parent 677c075ade
commit d9f40bb879
3 changed files with 30 additions and 9 deletions

View File

@ -9,7 +9,7 @@ const solanaWeb3 = require('..');
const account = new solanaWeb3.Account();
let url;
url = 'https://testnet.solana.com:8443';
url = 'http://testnet.solana.com:8899';
//url = 'http://localhost:8899';
const connection = new solanaWeb3.Connection(url);