mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-21 06:34:58 +01:00
Make binary decision; either use rabbit for everything or dont
This commit is contained in:
@@ -196,7 +196,7 @@ func (client *DefaultClient) FinalizeInitializedPayments(ctx context.Context, sv
|
||||
|
||||
case delivery, ok := <-deliveryChan:
|
||||
if !ok {
|
||||
return err
|
||||
return fmt.Errorf("Disconnected from RabbitMQ")
|
||||
}
|
||||
|
||||
payment := lnrpc.Payment{}
|
||||
|
||||
Reference in New Issue
Block a user