This commit is contained in:
ekzyis 2023-11-27 18:29:07 +01:00
parent 88db5f6ffb
commit ef304a3047

View File

@ -198,7 +198,7 @@ func HandleOrder(sc context.ServerContext) echo.HandlerFunc {
return err return err
} }
// need to commit before startign to poll invoice status // need to commit before starting to poll invoice status
tx.Commit() tx.Commit()
go sc.Lnd.CheckInvoice(sc.Db, hash) go sc.Lnd.CheckInvoice(sc.Db, hash)