aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/ui_lib.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-16 00:14:02 +0800
committerobscuren <geffobscura@gmail.com>2014-12-16 00:14:02 +0800
commit01a6db93241a01e98a0467b628423c9b5b1361cb (patch)
treedefc185c17bd88e32c021748ba7a19748496dac7 /cmd/mist/ui_lib.go
parent993280ec03a8bd8e108da7e222c98efa8482084b (diff)
downloaddexon-01a6db93241a01e98a0467b628423c9b5b1361cb.tar.gz
dexon-01a6db93241a01e98a0467b628423c9b5b1361cb.tar.zst
dexon-01a6db93241a01e98a0467b628423c9b5b1361cb.zip
Added whisper debug interface + whisper fixes
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r--cmd/mist/ui_lib.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go
index d34b527ce..68f333563 100644
--- a/cmd/mist/ui_lib.go
+++ b/cmd/mist/ui_lib.go
@@ -377,6 +377,10 @@ func (self *UiLib) ToggleMining() bool {
}
}
+func (self *UiLib) ToHex(data string) string {
+ return "0x" + ethutil.Bytes2Hex([]byte(data))
+}
+
/*
// XXX Refactor me & MOVE
func (self *Ethereum) InstallFilter(filter *core.Filter) (id int) {