|
|
@@ -144,11 +144,12 @@ func DailySettlementBlockGreenChain(engine *xorm.Engine, mid string, isTask bool |
|
|
|
} |
|
|
|
|
|
|
|
//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 记录 |
|
|
|
var blockGreenChainSettlementRecords = model.BlockGreenChainSettlementRecords{ |
|
|
|