whisper: remove dead code, rename a few constants

This commit is contained in:
Péter Szilágyi
2015-04-16 11:20:01 +03:00
parent 6ceb253f74
commit ee6531c5ff
6 changed files with 7 additions and 59 deletions

View File

@ -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")
}