2018-06-22 09:57:52 +00:00
|
|
|
diff --git a/whisper/whisperv5/whisper.go b/whisper/whisperv5/whisper.go
|
2018-06-20 14:51:55 +00:00
|
|
|
index 62bd1ce17..cec233cb0 100644
|
2018-06-22 09:57:52 +00:00
|
|
|
--- a/whisper/whisperv5/whisper.go
|
|
|
|
+++ b/whisper/whisperv5/whisper.go
|
2018-06-20 14:51:55 +00:00
|
|
|
@@ -499,7 +499,7 @@ func (w *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
|
2018-06-22 09:57:52 +00:00
|
|
|
// fetch the next packet
|
|
|
|
packet, err := rw.ReadMsg()
|
|
|
|
if err != nil {
|
|
|
|
- log.Warn("message loop", "peer", p.peer.ID(), "err", err)
|
|
|
|
+ log.Info("message loop", "peer", p.peer.ID(), "err", err)
|
|
|
|
return err
|
|
|
|
}
|
2018-06-20 14:51:55 +00:00
|
|
|
if packet.Size > w.MaxMessageSize() {
|
2018-06-22 09:57:52 +00:00
|
|
|
diff --git a/whisper/whisperv6/whisper.go b/whisper/whisperv6/whisper.go
|
2018-06-20 14:51:55 +00:00
|
|
|
index 880cced09..91d448217 100644
|
2018-06-22 09:57:52 +00:00
|
|
|
--- a/whisper/whisperv6/whisper.go
|
|
|
|
+++ b/whisper/whisperv6/whisper.go
|
2018-06-20 14:51:55 +00:00
|
|
|
@@ -650,7 +747,7 @@ func (whisper *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
|
2018-06-22 09:57:52 +00:00
|
|
|
// fetch the next packet
|
|
|
|
packet, err := rw.ReadMsg()
|
|
|
|
if err != nil {
|
|
|
|
- log.Warn("message loop", "peer", p.peer.ID(), "err", err)
|
|
|
|
+ log.Info("message loop", "peer", p.peer.ID(), "err", err)
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if packet.Size > whisper.MaxMessageSize() {
|