diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-08 20:20:17 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-08 20:20:17 +0800 |
commit | 71defc11fa01b113e26da876388f7a50f314d7fb (patch) | |
tree | a453574d3c4651e794949403330420046c67facd /ethereal/assets | |
parent | 53eb59ed8103940148b62eee4212425eb4760341 (diff) | |
download | go-tangerine-71defc11fa01b113e26da876388f7a50f314d7fb.tar go-tangerine-71defc11fa01b113e26da876388f7a50f314d7fb.tar.gz go-tangerine-71defc11fa01b113e26da876388f7a50f314d7fb.tar.bz2 go-tangerine-71defc11fa01b113e26da876388f7a50f314d7fb.tar.lz go-tangerine-71defc11fa01b113e26da876388f7a50f314d7fb.tar.xz go-tangerine-71defc11fa01b113e26da876388f7a50f314d7fb.tar.zst go-tangerine-71defc11fa01b113e26da876388f7a50f314d7fb.zip |
Fixed closure
Diffstat (limited to 'ethereal/assets')
-rw-r--r-- | ethereal/assets/samplecoin/samplecoin.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ethereal/assets/samplecoin/samplecoin.html b/ethereal/assets/samplecoin/samplecoin.html index c1ee941a2..50182c136 100644 --- a/ethereal/assets/samplecoin/samplecoin.html +++ b/ethereal/assets/samplecoin/samplecoin.html @@ -10,7 +10,7 @@ <script type="text/javascript"> -var jefcoinAddr = "3dff537f51350239abc95c76a5864aa605259e7d" +var jefcoinAddr = "136060151ebf11cd82456de1ab9406cc2a762b36" var mAddr = "" function createTransaction() { @@ -27,9 +27,8 @@ function init() { eth.set({width: 500}); eth.getKey(function(sec) { + mAddr = sec; eth.getSecretToAddress(sec, function(addr) { - mAddr = addr; - eth.getStorageAt(jefcoinAddr, addr, function(storage) { document.querySelector("#current-amount").innerHTML = storage; }); |