diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-26 19:06:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-26 19:06:10 +0800 |
commit | a1c830cd3c53bce7748d97e3f99fe6a90d526adb (patch) | |
tree | bc8d4cdc041b1fb2a6399c1365c18d01b3a7a53d /cmd/mist/assets/examples/info.html | |
parent | 49ded3aa7752148ebfbacd4e6ff5f46dc9376f89 (diff) | |
download | go-tangerine-a1c830cd3c53bce7748d97e3f99fe6a90d526adb.tar go-tangerine-a1c830cd3c53bce7748d97e3f99fe6a90d526adb.tar.gz go-tangerine-a1c830cd3c53bce7748d97e3f99fe6a90d526adb.tar.bz2 go-tangerine-a1c830cd3c53bce7748d97e3f99fe6a90d526adb.tar.lz go-tangerine-a1c830cd3c53bce7748d97e3f99fe6a90d526adb.tar.xz go-tangerine-a1c830cd3c53bce7748d97e3f99fe6a90d526adb.tar.zst go-tangerine-a1c830cd3c53bce7748d97e3f99fe6a90d526adb.zip |
Defautl block
Diffstat (limited to 'cmd/mist/assets/examples/info.html')
-rw-r--r-- | cmd/mist/assets/examples/info.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/mist/assets/examples/info.html b/cmd/mist/assets/examples/info.html index 2a405c280..3b958a494 100644 --- a/cmd/mist/assets/examples/info.html +++ b/cmd/mist/assets/examples/info.html @@ -62,6 +62,8 @@ web3.setProvider(new web3.providers.HttpSyncProvider('http://localhost:8545')); + eth.defaultBlock = -2 + document.querySelector("#number").innerHTML = eth.number; document.querySelector("#coinbase").innerHTML = eth.coinbase document.querySelector("#peer_count").innerHTML = eth.peerCount; @@ -72,8 +74,9 @@ document.querySelector("#mining").innerHTML = eth.mining; document.querySelector("#listening").innerHTML = eth.listening; eth.watch('chain').changed(function() { - document.querySelector("#number").innerHTML = eth.number; - }); + document.querySelector("#number").innerHTML = eth.number; + }); + </script> |