Remove market end date from invoice description

This commit is contained in:
ekzyis 2023-11-26 23:40:11 +01:00
parent da58c1158a
commit e5e9ae0667
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ func HandleCreateMarket(sc context.ServerContext) echo.HandlerFunc {
u = c.Get("session").(db.User)
msats = 1000
// TODO: add [market:<id>] 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
}