diff --git a/main.go b/main.go index 04a6d2e..f6754c5 100644 --- a/main.go +++ b/main.go @@ -142,6 +142,7 @@ func main() { secured.GET("/getpending", blankController.GetPending) e.GET("/", blankController.Home) + // Subscribe to LND invoice updates in the background go svc.InvoiceUpdateSubscription(context.Background()) // Start server