瀏覽代碼

更新

master
huangjiajun 10 月之前
父節點
當前提交
e02a4a97d8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lib/comm_plan/all.go

+ 1
- 1
lib/comm_plan/all.go 查看文件

@@ -884,7 +884,7 @@ func CalVirtualCommissionMinus(a, b []*VirtualCoinCommission) (c []*VirtualCoinC
for _, coinA := range a {
for _, coinB := range b {
if coinA.Cid == coinB.Cid {
amount = coinA.Val - coinB.Val
amount = zhios_order_relate_utils.FloatFormat(coinA.Val-coinB.Val, 8)
if amount < 0 {
zeroList[coinA.Cid] = struct{}{}
amount = 0


Loading…
取消
儲存