Merge branch 'release/0.9.20' into develop
This commit is contained in:
commit
28d6b30c0f
@ -50,7 +50,7 @@ import _ "net/http/pprof"
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
ClientIdentifier = "Geth"
|
ClientIdentifier = "Geth"
|
||||||
Version = "0.9.19"
|
Version = "0.9.20"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -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 New Issue
Block a user