forked from cerc-io/plugeth
eth: skip transaction announcer goroutine on eth<65
This commit is contained in:
parent
933acf3389
commit
34ed2d834a
@ -720,8 +720,9 @@ func (ps *peerSet) Register(p *peer) error {
|
|||||||
|
|
||||||
go p.broadcastBlocks()
|
go p.broadcastBlocks()
|
||||||
go p.broadcastTransactions()
|
go p.broadcastTransactions()
|
||||||
|
if p.version >= eth65 {
|
||||||
go p.announceTransactions()
|
go p.announceTransactions()
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user