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/peer_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/peer_test.go')
-rw-r--r-- | whisper/peer_test.go | 2 |
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") } |