From e5e9ae066704a6b757d0791214441800b87b6118 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sun, 26 Nov 2023 23:40:11 +0100 Subject: [PATCH] Remove market end date from invoice description --- server/router/handler/market.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/router/handler/market.go b/server/router/handler/market.go index 2728aee..12f7fcb 100644 --- a/server/router/handler/market.go +++ b/server/router/handler/market.go @@ -79,7 +79,7 @@ func HandleCreateMarket(sc context.ServerContext) echo.HandlerFunc { u = c.Get("session").(db.User) msats = 1000 // TODO: add [market:] for redirect after payment - invDescription = fmt.Sprintf("create market \"%s\" (%s)", m.Description, m.EndDate) + invDescription = fmt.Sprintf("create market \"%s\"", m.Description) if invoice, err = sc.Lnd.CreateInvoice(tx, ctx, sc.Db, u.Pubkey, msats, invDescription); err != nil { return err }