diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-16 00:14:02 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-16 00:14:02 +0800 |
commit | 01a6db93241a01e98a0467b628423c9b5b1361cb (patch) | |
tree | defc185c17bd88e32c021748ba7a19748496dac7 /cmd/mist/ui_lib.go | |
parent | 993280ec03a8bd8e108da7e222c98efa8482084b (diff) | |
download | dexon-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.go | 4 |
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) { |