mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth: make post-sync block broadcast synchronous
This commit is contained in:
parent
15fd802037
commit
68bc8982e7
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ func (pm *ProtocolManager) doSync(op *chainSyncOp) error {
|
|||
// scenario will most often crop up in private and hackathon networks with
|
||||
// degenerate connectivity, but it should be healthy for the mainnet too to
|
||||
// more reliably update peers or the local TD state.
|
||||
go pm.BroadcastBlock(head, false)
|
||||
pm.BroadcastBlock(head, false)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue