Explorar o código

les: fixed transaction sending deadlock (#3568)

Felföldi Zsolt %!s(int64=8) %!d(string=hai) anos
pai
achega
0fa9a8929c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      les/txrelay.go

+ 0 - 1
les/txrelay.go

@@ -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)
 	}