diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-16 16:20:01 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-16 16:20:01 +0800 |
commit | ee6531c5ff712307325e8866b73397179f4bb8cd (patch) | |
tree | 5a3d44c18fbf4eb1955d866ba4742aa8cc535d58 /whisper/whisper_test.go | |
parent | 6ceb253f743ec0d2bdd9a676c7f365de2201470c (diff) | |
download | dexon-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.gz dexon-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.zst dexon-ee6531c5ff712307325e8866b73397179f4bb8cd.zip |
whisper: remove dead code, rename a few constants
Diffstat (limited to 'whisper/whisper_test.go')
-rw-r--r-- | whisper/whisper_test.go | 2 |
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") } |