Browse Source

update 绿色积分

tags/v3.7.5
DengBiao 1 year ago
parent
commit
0242f98de7
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      rule/block_green_chain_settlement.go

+ 6
- 5
rule/block_green_chain_settlement.go View File

@@ -144,11 +144,12 @@ func DailySettlementBlockGreenChain(engine *xorm.Engine, mid string, isTask bool
} }


//5、进行空投区-区块币统计分配 //5、进行空投区-区块币统计分配
err, destroyCoinForAirdrop := statisticsAndDistributeCoinForAirdrop(session, mid, airdropAreaCoinNums, blockGreenChain)
if err != nil {
_ = session.Rollback()
return err
}
destroyCoinForAirdrop := 3522.00
//err, destroyCoinForAirdrop := statisticsAndDistributeCoinForAirdrop(session, mid, airdropAreaCoinNums, blockGreenChain)
//if err != nil {
// _ = session.Rollback()
// return err
//}


//6、插入 block_star_chain_settlement_records 记录 //6、插入 block_star_chain_settlement_records 记录
var blockGreenChainSettlementRecords = model.BlockGreenChainSettlementRecords{ var blockGreenChainSettlementRecords = model.BlockGreenChainSettlementRecords{


Loading…
Cancel
Save