#19 Enhancement Update - Interface W/ Geth (Local WS Provider)

This commit is contained in:
Dev-JamesR
2019-10-13 21:08:54 -07:00
parent 6539344d12
commit 30f0c8c544

View File

@@ -84,7 +84,7 @@ fetch('https://api.coinmarketcap.com/v2/ticker/3452/').then(response => {
if (typeof web3 == 'undefined') { if (typeof web3 == 'undefined') {
var web3 = new Web3() var web3 = new Web3()
web3.setProvider(new Web3.providers.HttpProvider('https://rpc.ether1.org')) web3.setProvider(new Web3.providers.WebsocketProvider("ws://localhost:8546"));
$('#ethofsLoginModal').modal('show'); $('#ethofsLoginModal').modal('show');
} else { } else {
ethofsLogin(""); ethofsLogin("");