From 34ed2d834a7786e4ae3c24fbcea6cc236bc644f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 6 May 2020 12:47:27 +0300 Subject: [PATCH] eth: skip transaction announcer goroutine on eth<65 --- eth/peer.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eth/peer.go b/eth/peer.go index b4ce9237ad31..d25c50c1d9d9 100644 --- a/eth/peer.go +++ b/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 }