Commit 8461fea4 authored by b00ris's avatar b00ris Committed by Guillaume Ballet

whisper: remove unused error (#17315)

parent 4bb2dc3d
...@@ -33,7 +33,6 @@ particularly the notion of singular endpoints. ...@@ -33,7 +33,6 @@ particularly the notion of singular endpoints.
package whisperv6 package whisperv6
import ( import (
"fmt"
"time" "time"
) )
...@@ -79,12 +78,6 @@ const ( ...@@ -79,12 +78,6 @@ const (
DefaultSyncAllowance = 10 // seconds 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 // MailServer represents a mail server, capable of
// archiving the old messages for subsequent delivery // archiving the old messages for subsequent delivery
// to the peers. Any implementation must ensure that both // to the peers. Any implementation must ensure that both
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment