diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-22 03:29:02 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-22 03:29:02 +0800 |
commit | 0d2cccc2ce88753a22ed60b74f50a376750d6483 (patch) | |
tree | dfac89690d428f4bf3ddd9d24a96535b7fcd9b86 /example | |
parent | e1fcffcc810bdf6a116cc12e21c5a8750cb86d23 (diff) | |
download | dexon-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar dexon-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar.gz dexon-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar.bz2 dexon-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar.lz dexon-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar.xz dexon-0d2cccc2ce88753a22ed60b74f50a376750d6483.tar.zst dexon-0d2cccc2ce88753a22ed60b74f50a376750d6483.zip |
http sync api
Diffstat (limited to 'example')
-rw-r--r-- | example/balance.html | 2 |
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; |