eth: skip transaction announcer goroutine on eth<65

This commit is contained in:
Péter Szilágyi 2020-05-06 12:47:27 +03:00
parent 933acf3389
commit 34ed2d834a
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -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
}