aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorWenbiao Zheng <delweng@gmail.com>2018-08-27 16:49:29 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-27 16:49:29 +0800
commitd1aa605f1e8639769cdd75bcec3064c29a62b34a (patch)
tree84d7aba82d7365ca736afa52b66ef100d117afca /whisper
parent70398d300d4da97c89f96f5c9629caa327de5c39 (diff)
downloadgo-tangerine-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.gz
go-tangerine-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.zst
go-tangerine-d1aa605f1e8639769cdd75bcec3064c29a62b34a.zip
all: remove the duplicate 'the' in annotations (#17509)
Diffstat (limited to 'whisper')
-rw-r--r--whisper/whisperv5/whisper.go2
-rw-r--r--whisper/whisperv6/whisper.go2
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()