eth, les: drop support for eth/64, fix eth/66 tests
This commit is contained in:
@ -496,11 +496,7 @@ func (h *handler) BroadcastTransactions(txs types.Transactions) {
|
||||
for peer, hashes := range annos {
|
||||
annoPeers++
|
||||
annoCount += len(hashes)
|
||||
if peer.Version() >= eth.ETH65 {
|
||||
peer.AsyncSendPooledTransactionHashes(hashes)
|
||||
} else {
|
||||
peer.AsyncSendTransactions(hashes)
|
||||
}
|
||||
peer.AsyncSendPooledTransactionHashes(hashes)
|
||||
}
|
||||
log.Debug("Transaction broadcast", "txs", len(txs),
|
||||
"announce packs", annoPeers, "announced hashes", annoCount,
|
||||
|
Reference in New Issue
Block a user