aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper.go
diff options
context:
space:
mode:
Diffstat (limited to 'whisper/whisper.go')
-rw-r--r--whisper/whisper.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/whisper/whisper.go b/whisper/whisper.go
index b83e3f1c6..f04075e1f 100644
--- a/whisper/whisper.go
+++ b/whisper/whisper.go
@@ -25,8 +25,8 @@ const (
signatureFlag = byte(1 << 7)
signatureLength = 65
- expirationTicks = 800 * time.Millisecond
- transmissionTicks = 300 * time.Millisecond
+ expirationCycle = 800 * time.Millisecond
+ transmissionCycle = 300 * time.Millisecond
)
const (
@@ -275,7 +275,7 @@ func createFilter(message *Message, topics []Topic) filter.Filter {
// state by expiring stale messages from the pool.
func (self *Whisper) update() {
// Start a ticker to check for expirations
- expire := time.NewTicker(expirationTicks)
+ expire := time.NewTicker(expirationCycle)
// Repeat updates until termination is requested
for {