aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelföldi Zsolt <zsfelfoldi@gmail.com>2017-01-16 17:51:29 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-01-16 17:51:29 +0800
commit0fa9a8929c8a55d1b624479cead2bb960ada7cfd (patch)
treec0aec9fef07a9f229183ec91fd5ba12a853c586b
parent2a1a531ba339516a0a8d0abc0e94a30842bb2fd2 (diff)
downloadgo-tangerine-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar
go-tangerine-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.gz
go-tangerine-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.bz2
go-tangerine-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.lz
go-tangerine-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.xz
go-tangerine-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.zst
go-tangerine-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.zip
les: fixed transaction sending deadlock (#3568)
-rw-r--r--les/txrelay.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/les/txrelay.go b/les/txrelay.go
index 84d049b45..76d416c57 100644
--- a/les/txrelay.go
+++ b/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)
}