diff options
author | Felföldi Zsolt <zsfelfoldi@gmail.com> | 2017-01-16 17:51:29 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-01-16 17:51:29 +0800 |
commit | 0fa9a8929c8a55d1b624479cead2bb960ada7cfd (patch) | |
tree | c0aec9fef07a9f229183ec91fd5ba12a853c586b | |
parent | 2a1a531ba339516a0a8d0abc0e94a30842bb2fd2 (diff) | |
download | dexon-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar dexon-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.gz dexon-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.bz2 dexon-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.lz dexon-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.xz dexon-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.tar.zst dexon-0fa9a8929c8a55d1b624479cead2bb960ada7cfd.zip |
les: fixed transaction sending deadlock (#3568)
-rw-r--r-- | les/txrelay.go | 1 |
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) } |