diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-29 22:05:43 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-29 22:05:43 +0800 |
commit | df17c338988260aab4db8f946076a67f3323caba (patch) | |
tree | b89a71830e9bcd1cd3f13ffad25df04513d2143f /example/balance.html | |
parent | c8ee08c24bee9ab994822066f9abe94448c4ae89 (diff) | |
download | go-tangerine-df17c338988260aab4db8f946076a67f3323caba.tar go-tangerine-df17c338988260aab4db8f946076a67f3323caba.tar.gz go-tangerine-df17c338988260aab4db8f946076a67f3323caba.tar.bz2 go-tangerine-df17c338988260aab4db8f946076a67f3323caba.tar.lz go-tangerine-df17c338988260aab4db8f946076a67f3323caba.tar.xz go-tangerine-df17c338988260aab4db8f946076a67f3323caba.tar.zst go-tangerine-df17c338988260aab4db8f946076a67f3323caba.zip |
event example
Diffstat (limited to 'example/balance.html')
-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 88f55315a..0563cc3df 100644 --- a/example/balance.html +++ b/example/balance.html @@ -17,7 +17,7 @@ var originalBalance = web3.toDecimal(balance); document.getElementById('original').innerText = 'original balance: ' + originalBalance + ' watching...'; - web3.eth.watch({altered: coinbase}).changed(function() { + web3.eth.watch({address: coinbase}).changed(function() { balance = web3.eth.balanceAt(coinbase) var currentBalance = web3.toDecimal(balance); document.getElementById("current").innerText = 'current: ' + currentBalance; |