status-go/_assets/patches/geth/0001-message-loop-warning-t...

27 lines
1.1 KiB
Diff
Raw Normal View History

diff --git a/whisper/whisperv5/whisper.go b/whisper/whisperv5/whisper.go
index 62bd1ce17..cec233cb0 100644
--- a/whisper/whisperv5/whisper.go
+++ b/whisper/whisperv5/whisper.go
@@ -499,7 +499,7 @@ func (w *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
// 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 > w.MaxMessageSize() {
diff --git a/whisper/whisperv6/whisper.go b/whisper/whisperv6/whisper.go
index 880cced09..91d448217 100644
--- a/whisper/whisperv6/whisper.go
+++ b/whisper/whisperv6/whisper.go
@@ -650,7 +747,7 @@ func (whisper *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
// 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() {