mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-17 13:06:52 +02:00
sidecar: only restart sidecar negotiator if ticket still active
This commit is contained in:
parent
07928242d5
commit
9efd03df6f
1 changed files with 2 additions and 2 deletions
|
|
@ -129,8 +129,8 @@ func (a *SidecarAcceptor) Start(errChan chan error) error {
|
|||
// If this ticket was intended to be negotiated in an automated
|
||||
// manner, then we'll launch a goroutine to manage the
|
||||
// remaining state transitions depending on if we're the
|
||||
// provider of responder.
|
||||
case ticket.Offer.Auto:
|
||||
// provider or responder.
|
||||
case ticket.Offer.Auto && ticket.State != sidecar.StateCompleted:
|
||||
// In order to determine our role, we'll first need to see
|
||||
// if the account for the offer exists in our database. If
|
||||
// not, then we're the recipient.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue