aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/examples
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-30 06:58:43 +0800
committerobscuren <geffobscura@gmail.com>2015-01-30 06:58:43 +0800
commit54927dc0e0b99009f92fbb7b28d71ae20179ce1e (patch)
treea486e2b72ad098162459e978534341d39c035a68 /cmd/mist/assets/examples
parent705cf6113d5c7cc8cbbbc8201d3c6ea04ae5726b (diff)
downloaddexon-54927dc0e0b99009f92fbb7b28d71ae20179ce1e.tar.gz
dexon-54927dc0e0b99009f92fbb7b28d71ae20179ce1e.tar.zst
dexon-54927dc0e0b99009f92fbb7b28d71ae20179ce1e.zip
Fixed issue with Storage()
* Storage() returned encoded values. They are now decode prior to hexing * Removed old code from state object * Updated coin
Diffstat (limited to 'cmd/mist/assets/examples')
-rw-r--r--cmd/mist/assets/examples/coin.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mist/assets/examples/coin.html b/cmd/mist/assets/examples/coin.html
index 93edfd6f6..572f6959d 100644
--- a/cmd/mist/assets/examples/coin.html
+++ b/cmd/mist/assets/examples/coin.html
@@ -65,9 +65,10 @@
}
var contract = web3.eth.contract(address, desc);
- document.querySelector("#balance").innerHTML = contract.call().balance(eth.coinbase);
function reflesh() {
+ document.querySelector("#balance").innerHTML = contract.call().balance(eth.coinbase);
+
var table = document.querySelector("#table");
table.innerHTML = ""; // clear