Browse Source

更新

master
huangjiajun 10 months ago
parent
commit
e02a4a97d8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/comm_plan/all.go

+ 1
- 1
lib/comm_plan/all.go View File

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


Loading…
Cancel
Save