aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv2/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'whisper/whisperv2/api.go')
-rw-r--r--whisper/whisperv2/api.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/whisper/whisperv2/api.go b/whisper/whisperv2/api.go
index 0509453ba..5c6d17095 100644
--- a/whisper/whisperv2/api.go
+++ b/whisper/whisperv2/api.go
@@ -377,15 +377,6 @@ func (w *whisperFilter) retrieve() (messages []WhisperMessage) {
return
}
-// activity returns the last time instance when client requests were executed on
-// the filter.
-func (w *whisperFilter) activity() time.Time {
- w.lock.RLock()
- defer w.lock.RUnlock()
-
- return w.update
-}
-
// newWhisperFilter creates a new serialized, poll based whisper topic filter.
func newWhisperFilter(id hexutil.Uint, ref *Whisper) *whisperFilter {
return &whisperFilter{