aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-16 16:20:01 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-16 16:20:01 +0800
commitee6531c5ff712307325e8866b73397179f4bb8cd (patch)
tree5a3d44c18fbf4eb1955d866ba4742aa8cc535d58 /whisper/whisper_test.go
parent6ceb253f743ec0d2bdd9a676c7f365de2201470c (diff)
downloadgo-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar
go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.gz
go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.bz2
go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.lz
go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.xz
go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.zst
go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.zip
whisper: remove dead code, rename a few constants
Diffstat (limited to 'whisper/whisper_test.go')
-rw-r--r--whisper/whisper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisper_test.go b/whisper/whisper_test.go
index 554a12cb1..def8e68d8 100644
--- a/whisper/whisper_test.go
+++ b/whisper/whisper_test.go
@@ -178,7 +178,7 @@ func TestMessageExpiration(t *testing.T) {
}
// Wait for expiration and check cache again
time.Sleep(time.Second) // wait for expiration
- time.Sleep(expirationTicks) // wait for cleanup cycle
+ time.Sleep(expirationCycle) // wait for cleanup cycle
if _, ok := node.messages[envelope.Hash()]; ok {
t.Fatalf("message not expired from cache")
}