mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
whisper: error type changed
This commit is contained in:
parent
18ff2ad5f4
commit
a7351ae20c
1 changed files with 1 additions and 7 deletions
|
|
@ -30,13 +30,7 @@ import (
|
|||
"github.com/ethereum/go-ethereum/whisper/whisperv5"
|
||||
)
|
||||
|
||||
type WhisperOfflineError struct{}
|
||||
|
||||
var whisperOffLineErr = new(WhisperOfflineError)
|
||||
|
||||
func (e *WhisperOfflineError) Error() string {
|
||||
return "whisper is offline"
|
||||
}
|
||||
var whisperOffLineErr = errors.New("whisper is offline")
|
||||
|
||||
// PublicWhisperAPI provides the whisper RPC service.
|
||||
type PublicWhisperAPI struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue