diff --git a/server/router/handler/market.go b/server/router/handler/market.go index b700652..3c0b917 100644 --- a/server/router/handler/market.go +++ b/server/router/handler/market.go @@ -109,12 +109,11 @@ func HandleOrder(sc context.ServerContext) echo.HandlerFunc { err error ) // TODO: - // [ ] Step 0: If SELL order, check share balance of user - // [x] Create HODL invoice + // [ ] If SELL order, check share balance of user // [x] Create (unconfirmed) order + // [x] Create invoice // [ ] Find matching orders - // [ ] Settle invoice when matching order was found, - // else cancel invoice if expired + // [ ] show invoice to user // parse body if err := c.Bind(&o); err != nil {