diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-06 00:37:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-06 00:37:09 +0800 |
commit | 201b09f99af11ea23e9cb5170a65867d026aedc9 (patch) | |
tree | f1b10856ec741484e7f213557aa6d522ef55f171 /cmd/mist/gui.go | |
parent | a56243075a7527d65d14c4cf3480029feb0a1e3f (diff) | |
parent | 44b83c6ea6b2c772669285024e5cce25b7cfe7e1 (diff) | |
download | dexon-201b09f99af11ea23e9cb5170a65867d026aedc9.tar dexon-201b09f99af11ea23e9cb5170a65867d026aedc9.tar.gz dexon-201b09f99af11ea23e9cb5170a65867d026aedc9.tar.bz2 dexon-201b09f99af11ea23e9cb5170a65867d026aedc9.tar.lz dexon-201b09f99af11ea23e9cb5170a65867d026aedc9.tar.xz dexon-201b09f99af11ea23e9cb5170a65867d026aedc9.tar.zst dexon-201b09f99af11ea23e9cb5170a65867d026aedc9.zip |
Merge branch 'alexvandesande-ui' into develop
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 4af0cff43..35bfdf9a3 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" @@ -388,7 +387,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{}, @@ -419,8 +418,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() } |