aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/peer_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/peer_test.go
parent6ceb253f743ec0d2bdd9a676c7f365de2201470c (diff)
downloaddexon-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.gz
dexon-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.zst
dexon-ee6531c5ff712307325e8866b73397179f4bb8cd.zip
whisper: remove dead code, rename a few constants
Diffstat (limited to 'whisper/peer_test.go')
-rw-r--r--whisper/peer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/peer_test.go b/whisper/peer_test.go
index 53aff7c55..de67b2463 100644
--- a/whisper/peer_test.go
+++ b/whisper/peer_test.go
@@ -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")
}