diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-06 00:37:18 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-06 00:37:18 +0800 |
commit | 377c8a13de3405424f16a67c2f3ae3485290a0ca (patch) | |
tree | 925d8f889a6f9c14aaba8c19dee3033abab09da9 /cmd/mist/gui.go | |
parent | 12ca70537ff6235b77e2041b4fab0c3419fc9a2a (diff) | |
parent | 201b09f99af11ea23e9cb5170a65867d026aedc9 (diff) | |
download | go-tangerine-377c8a13de3405424f16a67c2f3ae3485290a0ca.tar go-tangerine-377c8a13de3405424f16a67c2f3ae3485290a0ca.tar.gz go-tangerine-377c8a13de3405424f16a67c2f3ae3485290a0ca.tar.bz2 go-tangerine-377c8a13de3405424f16a67c2f3ae3485290a0ca.tar.lz go-tangerine-377c8a13de3405424f16a67c2f3ae3485290a0ca.tar.xz go-tangerine-377c8a13de3405424f16a67c2f3ae3485290a0ca.tar.zst go-tangerine-377c8a13de3405424f16a67c2f3ae3485290a0ca.zip |
Merge branch 'develop' into poc-9
Diffstat (limited to 'cmd/mist/gui.go')
-rw-r--r-- | cmd/mist/gui.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/mist/gui.go b/cmd/mist/gui.go index cbd8daf2f..a69049894 100644 --- a/cmd/mist/gui.go +++ b/cmd/mist/gui.go @@ -32,7 +32,6 @@ import ( "path" "runtime" "sort" - "strconv" "time" "github.com/ethereum/go-ethereum/core" @@ -386,7 +385,7 @@ func (gui *Gui) update() { statsUpdateTicker := time.NewTicker(5 * time.Second) lastBlockLabel := gui.getObjectByName("lastBlockLabel") - miningLabel := gui.getObjectByName("miningLabel") + //miningLabel := gui.getObjectByName("miningLabel") events := gui.eth.EventMux().Subscribe( core.ChainEvent{}, @@ -417,8 +416,7 @@ func (gui *Gui) update() { case <-generalUpdateTicker.C: statusText := "#" + gui.eth.ChainManager().CurrentBlock().Number().String() lastBlockLabel.Set("text", statusText) - miningLabel.Set("text", "Mining @ "+strconv.FormatInt(gui.uiLib.Miner().HashRate(), 10)+"/Khash") - + //miningLabel.Set("text", strconv.FormatInt(gui.uiLib.Miner().HashRate(), 10)) case <-statsUpdateTicker.C: gui.setStatsPane() } |