Commit f9b0d1a8 authored by obscuren's avatar obscuren

Updated to new ethereum.js api

parent c9f56626
......@@ -70,7 +70,7 @@ Rectangle {
}
function onShhMessage(message, id) {
webview.postEvent("shhChanged", id, message)
webview.postEvent("shh_changed", id, message)
}
Item {
......
......@@ -38,7 +38,7 @@ func (self *Whisper) SetView(view qml.Object) {
func (self *Whisper) Post(payload []string, to, from string, topics []string, priority, ttl uint32) {
var data []byte
for _, d := range payload {
data = append(data, ethutil.Hex2Bytes(d)...)
data = append(data, fromHex(d)...)
}
msg := whisper.NewMessage(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment