Merge pull request #191 from binance-chain/stuck_issue

[R4R]fix the reorg routine stuck issue
This commit is contained in:
zjubfd 2021-05-07 11:32:00 +08:00 committed by GitHub
commit 8362792981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -204,7 +204,7 @@ func (p *peer) broadcastTransactions() {
done = nil done = nil
case <-fail: case <-fail:
return p.Log().Trace("BroadcastTransactions failed")
case <-p.term: case <-p.term:
return return