diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-08 18:29:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-08 18:29:49 +0800 |
commit | 4de3ad1712ce0fdc62b1acc27a3922b192e943c6 (patch) | |
tree | a7de24c746a0c6d3531f1fab925d4e8b48a76cd2 /ethereum.go | |
parent | 9d86a49a7327199c01977f3372c8adf748252c32 (diff) | |
download | go-tangerine-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.gz go-tangerine-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.zst go-tangerine-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.zip |
New block message
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereum.go b/ethereum.go index 987cd2016..b83ceb12f 100644 --- a/ethereum.go +++ b/ethereum.go @@ -385,7 +385,7 @@ func (s *Ethereum) RemovePeer(p *Peer) { }) } -func (s *Ethereum) ReapDeadPeerHandler() { +func (s *Ethereum) reapDeadPeerHandler() { reapTimer := time.NewTicker(processReapingTimeout * time.Second) for { @@ -420,7 +420,7 @@ func (s *Ethereum) Start(seed bool) { } // Start the reaping processes - go s.ReapDeadPeerHandler() + go s.reapDeadPeerHandler() go s.update() go s.filterLoop() |