From c9f566269b39780accfb7632b94dd7635be2022b Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 9 Jan 2015 13:28:48 +0100 Subject: [PATCH] merged --- cmd/mist/assets/qml/browser.qml | 1 - ui/qt/qwhisper/whisper.go | 2 -- whisper/message.go | 2 -- 3 files changed, 5 deletions(-) diff --git a/cmd/mist/assets/qml/browser.qml b/cmd/mist/assets/qml/browser.qml index c22e09dc7a..2791560ac2 100644 --- a/cmd/mist/assets/qml/browser.qml +++ b/cmd/mist/assets/qml/browser.qml @@ -333,7 +333,6 @@ Rectangle { case "shh_newIdentity": var id = shh.newIdentity() - console.log("newIdentity", id) postData(data._id, id) break diff --git a/ui/qt/qwhisper/whisper.go b/ui/qt/qwhisper/whisper.go index 8a064c81cd..62b68efaf4 100644 --- a/ui/qt/qwhisper/whisper.go +++ b/ui/qt/qwhisper/whisper.go @@ -1,7 +1,6 @@ package qwhisper import ( - "fmt" "time" "github.com/ethereum/go-ethereum/crypto" @@ -42,7 +41,6 @@ func (self *Whisper) Post(payload []string, to, from string, topics []string, pr data = append(data, ethutil.Hex2Bytes(d)...) } - fmt.Println(payload, data, "from", from, fromHex(from), crypto.ToECDSA(fromHex(from))) msg := whisper.NewMessage(data) envelope, err := msg.Seal(time.Duration(priority*100000), whisper.Opts{ Ttl: time.Duration(ttl), diff --git a/whisper/message.go b/whisper/message.go index 5bda849ec8..db0110b4a7 100644 --- a/whisper/message.go +++ b/whisper/message.go @@ -2,7 +2,6 @@ package whisper import ( "crypto/ecdsa" - "fmt" "time" "github.com/ethereum/go-ethereum/crypto" @@ -54,7 +53,6 @@ type Opts struct { } func (self *Message) Seal(pow time.Duration, opts Opts) (*Envelope, error) { - fmt.Println(opts) if opts.From != nil { err := self.sign(opts.From) if err != nil {