From e28f4af720d3624c29e2cb1b6ac95122978346b4 Mon Sep 17 00:00:00 2001 From: b00ris Date: Tue, 7 Aug 2018 16:16:56 +0300 Subject: [PATCH] whisper: remove unused error (#17315) --- whisperv6/doc.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/whisperv6/doc.go b/whisperv6/doc.go index 066a976..529bf3d 100644 --- a/whisperv6/doc.go +++ b/whisperv6/doc.go @@ -33,7 +33,6 @@ particularly the notion of singular endpoints. package whisperv6 import ( - "fmt" "time" ) @@ -79,12 +78,6 @@ const ( DefaultSyncAllowance = 10 // seconds ) -type unknownVersionError uint64 - -func (e unknownVersionError) Error() string { - return fmt.Sprintf("invalid envelope version %d", uint64(e)) -} - // MailServer represents a mail server, capable of // archiving the old messages for subsequent delivery // to the peers. Any implementation must ensure that both