Pārlūkot izejas kodu

update 区块星链

tags/v3.0.6
DengBiao pirms 2 gadiem
vecāks
revīzija
1e01b431ba
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      rule/block_star_chain_settlement.go

+ 1
- 1
rule/block_star_chain_settlement.go Parādīt failu

@@ -296,7 +296,7 @@ func statisticsAndDistributeCoinForDynamic(session *xorm.Session, userIds []int,
sumStaticValue := decimal.NewFromFloat(sumStatic)

//2、查询出所有拥有静态贡献值的用户
err = session.Table("user_virtual_amount").NotIn("uid", userIds).Where("coin_id =?", chain.Coin2).And("amount > 0").Find(&userVirtualAmounts)
err = session.Table("user_virtual_amount").NotIn("uid", userIds).Where("coin_id =?", chain.Coin3).And("amount > 0").Find(&userVirtualAmounts)
if err != nil {
return err, unassignedTotalCoinValue
}


Notiek ielāde…
Atcelt
Saglabāt