mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
eth: 100% tx propagation
This commit is contained in:
parent
36ce54e5dc
commit
8fe01b4bfa
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ func (pm *ProtocolManager) BroadcastTx(hash common.Hash, tx *types.Transaction)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Broadcast block to peer set
|
// Broadcast block to peer set
|
||||||
peers = peers[:int(math.Sqrt(float64(len(peers))))]
|
//FIXME include this again: peers = peers[:int(math.Sqrt(float64(len(peers))))]
|
||||||
for _, peer := range peers {
|
for _, peer := range peers {
|
||||||
peer.sendTransaction(tx)
|
peer.sendTransaction(tx)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue