aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-22 03:29:02 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-22 03:29:02 +0800
commit0d2cccc2ce88753a22ed60b74f50a376750d6483 (patch)
treedfac89690d428f4bf3ddd9d24a96535b7fcd9b86 /example
parente1fcffcc810bdf6a116cc12e21c5a8750cb86d23 (diff)
downloadgo-tangerine-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar.gz
go-tangerine-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar.zst
go-tangerine-0d2cccc2ce88753a22ed60b74f50a376750d6483.zip
http sync api
Diffstat (limited to 'example')
-rw-r--r--example/balance.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/balance.html b/example/balance.html
index d70ea648b..53a65805f 100644
--- a/example/balance.html
+++ b/example/balance.html
@@ -8,7 +8,7 @@
<script type="text/javascript">
var web3 = require('web3');
- web3.setProvider(new web3.providers.AutoProvider());
+ web3.setProvider(new web3.providers.HttpSyncProvider('http://localhost:8080'));
function watchBalance() {
var coinbase = web3.eth.coinbase;