Merge pull request #21032 from karalabe/skip-announce-goroutine-eth64

eth: skip transaction announcer goroutine on eth<65
pull/21034/head
Péter Szilágyi 5 years ago committed by GitHub
commit b98259868b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      eth/peer.go

@ -720,8 +720,9 @@ func (ps *peerSet) Register(p *peer) error {
go p.broadcastBlocks()
go p.broadcastTransactions()
go p.announceTransactions()
if p.version >= eth65 {
go p.announceTransactions()
}
return nil
}

Loading…
Cancel
Save