forked from cerc-io/plugeth
les: fixed transaction sending deadlock (#3568)
This commit is contained in:
parent
2a1a531ba3
commit
0fa9a8929c
@ -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 New Issue
Block a user