Skip to content

Commit

Permalink
feat: fix order expire limit
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpiotzh committed Oct 28, 2024
1 parent 533106e commit a8858ee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions http_server/handle/order_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,7 @@ func (h *HttpHandle) doOrderRegister(ctx context.Context, req *ReqOrderRegister,
//}

// check un pay
maxUnPayCount := int64(200)
if config.Cfg.Server.Net != common.DasNetTypeMainNet {
maxUnPayCount = 200
}
maxUnPayCount := int64(300)
if unPayCount, err := h.dbDao.GetUnPayOrderCount(req.ChainType, req.Address); err != nil {
apiResp.ApiRespErr(api_code.ApiCodeDbError, "failed to check order count")
return nil
Expand Down

0 comments on commit a8858ee

Please sign in to comment.