aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-09 06:15:46 +0800
committerobscuren <geffobscura@gmail.com>2015-01-09 06:15:46 +0800
commitc8a4c04b36d264f538f452b4540372907216b394 (patch)
treea505fa8d45e7cac7544dea4dd1894ea60cd0f414 /whisper
parent26f066f0c7570bcca43299721c2b7a1a70186ee3 (diff)
downloaddexon-c8a4c04b36d264f538f452b4540372907216b394.tar
dexon-c8a4c04b36d264f538f452b4540372907216b394.tar.gz
dexon-c8a4c04b36d264f538f452b4540372907216b394.tar.bz2
dexon-c8a4c04b36d264f538f452b4540372907216b394.tar.lz
dexon-c8a4c04b36d264f538f452b4540372907216b394.tar.xz
dexon-c8a4c04b36d264f538f452b4540372907216b394.tar.zst
dexon-c8a4c04b36d264f538f452b4540372907216b394.zip
err
Diffstat (limited to 'whisper')
-rw-r--r--whisper/whisper.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/whisper/whisper.go b/whisper/whisper.go
index 71a4e841e..3ff4bac5a 100644
--- a/whisper/whisper.go
+++ b/whisper/whisper.go
@@ -4,7 +4,6 @@ import (
"bytes"
"crypto/ecdsa"
"errors"
- "fmt"
"sync"
"time"
@@ -144,7 +143,6 @@ func (self *Whisper) msgHandler(peer *p2p.Peer, ws p2p.MsgReadWriter) error {
if err != nil {
return err
}
- fmt.Println("reading message")
envelope, err := NewEnvelopeFromReader(msg.Payload)
if err != nil {
@@ -162,7 +160,6 @@ func (self *Whisper) msgHandler(peer *p2p.Peer, ws p2p.MsgReadWriter) error {
// takes care of adding envelopes to the messages pool. At this moment no sanity checks are being performed.
func (self *Whisper) add(envelope *Envelope) error {
- fmt.Println("adding")
if !envelope.valid() {
return errors.New("invalid pow provided for envelope")
}