eth: make post-sync block broadcast synchronous

This commit is contained in:
Felix Lange 2020-03-25 18:46:55 +01:00
parent 15fd802037
commit 68bc8982e7

View file

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