Skip to content

Commit

Permalink
Running relay ph on a go routine
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Jun 26, 2024
1 parent 741bf0a commit 4bea779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/slice.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ func (sl *Slice) Append(header *types.WorkObject, domPendingHeader *types.WorkOb

time15 := common.PrettyDuration(time.Since(start))
// Relay the new pendingHeader
sl.relayPh(block, pendingHeaderWithTermini, domOrigin, block.Location(), subReorg)
go sl.relayPh(block, pendingHeaderWithTermini, domOrigin, block.Location(), subReorg)

time16 := common.PrettyDuration(time.Since(start))
inputs, outputs := block.InputsAndOutputsWithoutCoinbase()
Expand Down

0 comments on commit 4bea779

Please sign in to comment.