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.go | |
parent | 6ceb253f743ec0d2bdd9a676c7f365de2201470c (diff) | |
download | go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.gz go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.tar.zst go-tangerine-ee6531c5ff712307325e8866b73397179f4bb8cd.zip |
whisper: remove dead code, rename a few constants
Diffstat (limited to 'whisper/peer.go')
-rw-r--r-- | whisper/peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/whisper/peer.go b/whisper/peer.go index 8bf848855..e4301f37c 100644 --- a/whisper/peer.go +++ b/whisper/peer.go @@ -88,8 +88,8 @@ func (self *peer) handshake() error { // and expiration. func (self *peer) update() { // Start the tickers for the updates - expire := time.NewTicker(expirationTicks) - transmit := time.NewTicker(transmissionTicks) + expire := time.NewTicker(expirationCycle) + transmit := time.NewTicker(transmissionCycle) // Loop and transmit until termination is requested for { |