Skip to content

Commit

Permalink
Update relayer/relayer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
Signed-off-by: cam-schultz <78878559+cam-schultz@users.noreply.github.com>
  • Loading branch information
cam-schultz and michaelkaplan13 authored Jan 18, 2024
1 parent eedb6be commit 374b8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func NewRelayer(
)
return nil, err
}
// Process historical blocks asynchronously so that the main processing loop can
// Process historical blocks in a separate goroutine so that the main processing loop can
// start processing new blocks as soon as possible. Otherwise, it's possible for
// ProcessFromHeight to overload the message queue and cause a deadlock.
go sub.ProcessFromHeight(big.NewInt(0).SetUint64(height), r.catchUpResultChan)
Expand Down

0 comments on commit 374b8d3

Please sign in to comment.