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

@ -185,7 +185,7 @@ func TestPeerDeliver(t *testing.T) {
t.Fatalf("failed to transfer message: %v", err)
}
select {
case <-time.After(2 * transmissionTicks):
case <-time.After(2 * transmissionCycle):
case <-arrived:
t.Fatalf("repeating message arrived")
}