sidecar: insert missing continue during auto sidecar restart

A continue was missing that would cause the loop to panic below as in
certain cases the recipient isn't yet present (provider just restarted).
This commit is contained in:
Olaoluwa Osuntokun 2021-05-18 19:45:04 -07:00
parent 3dee849502
commit d60b991b6f
No known key found for this signature in database
GPG key ID: 3BBD59E99B280306

View file

@ -174,6 +174,8 @@ func (a *SidecarAcceptor) Start(errChan chan error) error {
"for sidecar: %w", err)
}
continue
// If the ticket has no recipient or isn't in the expecting
// state, then we can safely skip it.
case ticket.State != sidecar.StateExpectingChannel: