mirror of
https://github.com/status-im/whisper.git
synced 2025-01-20 07:39:00 +00:00
whisper: remove unused error (#17315)
This commit is contained in:
parent
9f139cbd6b
commit
e28f4af720
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user