tracebug of insertPlate

This commit is contained in:
zhangkun9038@dingtalk.com 2025-01-14 22:48:37 +08:00
parent fbabbdb26f
commit d234dea44a
2 changed files with 2 additions and 1 deletions

View File

@ -475,7 +475,8 @@ func MakeMaX(cr *core.Core, cl *core.Candle, count int) (error, int) {
if len(cdl.List) == 0 {
return err, 0
}
ljs, _ := json.Marshal(cdl.List)
// ljs, _ := json.Marshal(cdl.List)
// fmt.Println("makeMax: ljs: ", string(ljs))
if len(cdl.List) < count {
err := errors.New("由于sortedSet容量有限没有足够的元素数量来计算 maX, setName: " + setName + " ct: " + ToString(ct) + "count: " + ToString(count))
return err, int(float64(count) - ct)

BIN
siaga

Binary file not shown.