aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-29 23:52:00 +0800
committerobscuren <geffobscura@gmail.com>2015-01-29 23:52:00 +0800
commit6488a392a347d0d47212fdc78386e3e0e5841d7d (patch)
treeed95cdf67028b2b60ddc7850728abe9a391796bf /cmd/mist
parentddf17d93acf92ef18b0134f19f22220362e06bad (diff)
downloaddexon-6488a392a347d0d47212fdc78386e3e0e5841d7d.tar.gz
dexon-6488a392a347d0d47212fdc78386e3e0e5841d7d.tar.zst
dexon-6488a392a347d0d47212fdc78386e3e0e5841d7d.zip
Reimplemented message filters for rpc calls
Diffstat (limited to 'cmd/mist')
-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;