aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/ext
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mist/assets/ext')
-rw-r--r--cmd/mist/assets/ext/ethereum.js/example/balance.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mist/assets/ext/ethereum.js/example/balance.html b/cmd/mist/assets/ext/ethereum.js/example/balance.html
index 88f55315a..4b51c5a7d 100644
--- a/cmd/mist/assets/ext/ethereum.js/example/balance.html
+++ b/cmd/mist/assets/ext/ethereum.js/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() {
+ var filter = web3.eth.watch({address: coinbase}).changed(function() {
balance = web3.eth.balanceAt(coinbase)
var currentBalance = web3.toDecimal(balance);
document.getElementById("current").innerText = 'current: ' + currentBalance;