14 lines
466 B
Diff
14 lines
466 B
Diff
diff --git a/whisper/whisperv6/whisper.go b/whisper/whisperv6/whisper.go
|
|
index 48bbca3c..482457cb 100644
|
|
--- a/whisper/whisperv6/whisper.go
|
|
+++ b/whisper/whisperv6/whisper.go
|
|
@@ -1060,7 +1060,7 @@ func (whisper *Whisper) expire() {
|
|
whisper.stats.messagesCleared++
|
|
whisper.stats.memoryCleared += sz
|
|
whisper.stats.memoryUsed -= sz
|
|
- return true
|
|
+ return false
|
|
})
|
|
whisper.expirations[expiry].Clear()
|
|
delete(whisper.expirations, expiry)
|