aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorb00ris <b00ris@mail.ru>2018-08-07 21:16:56 +0800
committerGuillaume Ballet <gballet@gmail.com>2018-08-07 21:16:56 +0800
commit8461fea44b140fcb04905be7acc4539f42c0444f (patch)
tree25bf5b9a2669c2f3ad95850f3c1180476c599954
parent4bb2dc3d09a76025292b36ac48f6fffa5450adb8 (diff)
downloadgo-tangerine-8461fea44b140fcb04905be7acc4539f42c0444f.tar
go-tangerine-8461fea44b140fcb04905be7acc4539f42c0444f.tar.gz
go-tangerine-8461fea44b140fcb04905be7acc4539f42c0444f.tar.bz2
go-tangerine-8461fea44b140fcb04905be7acc4539f42c0444f.tar.lz
go-tangerine-8461fea44b140fcb04905be7acc4539f42c0444f.tar.xz
go-tangerine-8461fea44b140fcb04905be7acc4539f42c0444f.tar.zst
go-tangerine-8461fea44b140fcb04905be7acc4539f42c0444f.zip
whisper: remove unused error (#17315)
-rw-r--r--whisper/whisperv6/doc.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/whisper/whisperv6/doc.go b/whisper/whisperv6/doc.go
index 066a9766d..529bf3d2d 100644
--- a/whisper/whisperv6/doc.go
+++ b/whisper/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