mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
les: fixed transaction sending deadlock
This commit is contained in:
parent
b5a100b859
commit
e85684e31f
1 changed files with 0 additions and 1 deletions
|
|
@ -110,7 +110,6 @@ func (self *LesTxRelay) send(txs types.Transactions, count int) {
|
|||
for p, list := range sendTo {
|
||||
cost := p.GetRequestCost(SendTxMsg, len(list))
|
||||
go func(p *peer, list types.Transactions, cost uint64) {
|
||||
p.fcServer.SendRequest(0, cost)
|
||||
p.SendTxs(cost, list)
|
||||
}(p, list, cost)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue