From 50724161c214286b0b608798d93790179487b69b Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sun, 26 Nov 2023 18:36:13 +0100 Subject: [PATCH] Update 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 20f92bb..b700652 100644 --- a/server/router/handler/market.go +++ b/server/router/handler/market.go @@ -126,7 +126,7 @@ func HandleOrder(sc context.ServerContext) echo.HandlerFunc { if err = sc.Db.FetchShare(o.ShareId, &s); err != nil { return err } - description = fmt.Sprintf("%s %d %s shares @ %d [market:%d]", strings.ToUpper(o.Side), o.Quantity, s.Description, o.Price, s.MarketId) + description = fmt.Sprintf("%s %d %s shares @ %d sats [market:%d]", strings.ToUpper(o.Side), o.Quantity, s.Description, o.Price, s.MarketId) // TODO: if SELL order, check share balance of user