aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-08 18:29:49 +0800
committerobscuren <geffobscura@gmail.com>2014-10-08 18:29:49 +0800
commit4de3ad1712ce0fdc62b1acc27a3922b192e943c6 (patch)
treea7de24c746a0c6d3531f1fab925d4e8b48a76cd2 /ethereum.go
parent9d86a49a7327199c01977f3372c8adf748252c32 (diff)
downloaddexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar
dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.gz
dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.bz2
dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.lz
dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.xz
dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.zst
dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.zip
New block message
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go4
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()