diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-08-27 16:49:29 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-27 16:49:29 +0800 |
commit | d1aa605f1e8639769cdd75bcec3064c29a62b34a (patch) | |
tree | 84d7aba82d7365ca736afa52b66ef100d117afca /whisper | |
parent | 70398d300d4da97c89f96f5c9629caa327de5c39 (diff) | |
download | dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.gz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.bz2 dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.lz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.xz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.zst dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.zip |
all: remove the duplicate 'the' in annotations (#17509)
Diffstat (limited to 'whisper')
-rw-r--r-- | whisper/whisperv5/whisper.go | 2 | ||||
-rw-r--r-- | whisper/whisperv6/whisper.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/whisper/whisperv5/whisper.go b/whisper/whisperv5/whisper.go index 5a2b25c9e..8e0662327 100644 --- a/whisper/whisperv5/whisper.go +++ b/whisper/whisperv5/whisper.go @@ -291,7 +291,7 @@ func (w *Whisper) AddKeyPair(key *ecdsa.PrivateKey) (string, error) { return id, nil } -// HasKeyPair checks if the the whisper node is configured with the private key +// HasKeyPair checks if the whisper node is configured with the private key // of the specified public pair. func (w *Whisper) HasKeyPair(id string) bool { w.keyMu.RLock() diff --git a/whisper/whisperv6/whisper.go b/whisper/whisperv6/whisper.go index 76d485808..34c1256a6 100644 --- a/whisper/whisperv6/whisper.go +++ b/whisper/whisperv6/whisper.go @@ -423,7 +423,7 @@ func (whisper *Whisper) AddKeyPair(key *ecdsa.PrivateKey) (string, error) { return id, nil } -// HasKeyPair checks if the the whisper node is configured with the private key +// HasKeyPair checks if the whisper node is configured with the private key // of the specified public pair. func (whisper *Whisper) HasKeyPair(id string) bool { whisper.keyMu.RLock() |