瀏覽代碼

add 区块星链

tags/v1.9.6
DengBiao 2 年之前
父節點
當前提交
4ad11c102c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      rule/block_star_chain_settlement.go

+ 1
- 1
rule/block_star_chain_settlement.go 查看文件

@@ -566,7 +566,7 @@ func DealDestroyCoin(session *xorm.Session, kind int, amount float64, title stri
blockStarChainFlow.BeforeTotalDestroyCoin = chain.TotalDestroyCoin
blockStarChainFlow.AfterTotalDestroyCoin = zhios_order_relate_utils.Float64ToStrPrec10(zhios_order_relate_utils.StrToFloat64(chain.TotalRemainderCoin) + amount)
break
case int(enum.GroupLotteryAndDestroy):
case int(enum.TransferFeeAndDestroy):
blockStarChainFlow.BeforeTotalNowCoin = chain.TotalNowCoin
blockStarChainFlow.AfterTotalNowCoin = zhios_order_relate_utils.Float64ToStrPrec10(zhios_order_relate_utils.StrToFloat64(chain.TotalNowCoin) - amount)
blockStarChainFlow.BeforeTotalRemainderCoin = chain.TotalRemainderCoin


Loading…
取消
儲存