Skip to content

Commit 0fa9a89

Browse files
zsfelfoldifjl
authored andcommitted
les: fixed transaction sending deadlock (#3568)
1 parent 2a1a531 commit 0fa9a89

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

les/txrelay.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ func (self *LesTxRelay) send(txs types.Transactions, count int) {
110110
for p, list := range sendTo {
111111
cost := p.GetRequestCost(SendTxMsg, len(list))
112112
go func(p *peer, list types.Transactions, cost uint64) {
113-
p.fcServer.SendRequest(0, cost)
114113
p.SendTxs(cost, list)
115114
}(p, list, cost)
116115
}

0 commit comments

Comments
 (0)