Sfoglia il codice sorgente

add 区块星链

tags/v1.9.6
DengBiao 2 anni fa
parent
commit
4ad11c102c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      rule/block_star_chain_settlement.go

+ 1
- 1
rule/block_star_chain_settlement.go Vedi File

@@ -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


Caricamento…
Annulla
Salva