Update TODO
This commit is contained in:
parent
50724161c2
commit
9026f56359
@ -109,12 +109,11 @@ func HandleOrder(sc context.ServerContext) echo.HandlerFunc {
|
|||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
// TODO:
|
// TODO:
|
||||||
// [ ] Step 0: If SELL order, check share balance of user
|
// [ ] If SELL order, check share balance of user
|
||||||
// [x] Create HODL invoice
|
|
||||||
// [x] Create (unconfirmed) order
|
// [x] Create (unconfirmed) order
|
||||||
|
// [x] Create invoice
|
||||||
// [ ] Find matching orders
|
// [ ] Find matching orders
|
||||||
// [ ] Settle invoice when matching order was found,
|
// [ ] show invoice to user
|
||||||
// else cancel invoice if expired
|
|
||||||
|
|
||||||
// parse body
|
// parse body
|
||||||
if err := c.Bind(&o); err != nil {
|
if err := c.Bind(&o); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user