Skip to content

Commit 34ed2d8

Browse files
committed
eth: skip transaction announcer goroutine on eth<65
1 parent 933acf3 commit 34ed2d8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎eth/peer.go‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,9 @@ func (ps *peerSet) Register(p *peer) error {
720720

721721
go p.broadcastBlocks()
722722
go p.broadcastTransactions()
723-
go p.announceTransactions()
724-
723+
if p.version >= eth65 {
724+
go p.announceTransactions()
725+
}
725726
return nil
726727
}
727728

0 commit comments

Comments
 (0)