Update TODO

This commit is contained in:
ekzyis 2023-11-26 18:56:02 +01:00
parent 50724161c2
commit 9026f56359

View File

@ -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 {