whisper: fix megacheck warnings (#14925)

* whisper: fix megacheck warnings

* whisper/whisperv5: regenerate json codec to fix unused override type
This commit is contained in:
Egon Elbre
2017-08-08 14:48:06 +03:00
committed by Péter Szilágyi
parent 374c49e0ac
commit d375193797
9 changed files with 18 additions and 20 deletions

View File

@ -104,7 +104,7 @@ func (s *WMailServer) Archive(env *whisper.Envelope) {
func (s *WMailServer) DeliverMail(peer *whisper.Peer, request *whisper.Envelope) {
if peer == nil {
log.Error(fmt.Sprint("Whisper peer is nil"))
log.Error("Whisper peer is nil")
return
}