aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv6
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 /whisper/whisperv6
parent4bb2dc3d09a76025292b36ac48f6fffa5450adb8 (diff)
downloaddexon-8461fea44b140fcb04905be7acc4539f42c0444f.tar
dexon-8461fea44b140fcb04905be7acc4539f42c0444f.tar.gz
dexon-8461fea44b140fcb04905be7acc4539f42c0444f.tar.bz2
dexon-8461fea44b140fcb04905be7acc4539f42c0444f.tar.lz
dexon-8461fea44b140fcb04905be7acc4539f42c0444f.tar.xz
dexon-8461fea44b140fcb04905be7acc4539f42c0444f.tar.zst
dexon-8461fea44b140fcb04905be7acc4539f42c0444f.zip
whisper: remove unused error (#17315)
Diffstat (limited to 'whisper/whisperv6')
-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