Explorar el Código

update 区块星链

tags/v3.4.0
DengBiao hace 2 años
padre
commit
0fe3f1c1ed
Se han modificado 1 ficheros con 7 adiciones y 7 borrados
  1. +7
    -7
      rule/block_star_chain_settlement.go

+ 7
- 7
rule/block_star_chain_settlement.go Ver fichero

@@ -54,13 +54,13 @@ func DailySettlementBlockStarChain(engine *xorm.Engine, mid string, isTask bool)
_ = session.Rollback()
return err
}
if blockStarChain.StartAt == "" || blockStarChain.StartAt == "0000-00-00" {
_ = session.Rollback()
return errors.New("区块星链空投暂未开启")
} else {
_ = session.Rollback()
return errors.New("区块星链空投暂未开启1111")
}
//if blockStarChain.StartAt == "" || blockStarChain.StartAt == "0000-00-00" {
// _ = session.Rollback()
// return errors.New("区块星链空投暂未开启")
//} else {
// _ = session.Rollback()
// return errors.New("区块星链空投暂未开启1111")
//}

if blockStarChain.SettlementDate == today {
_ = session.Rollback()


Cargando…
Cancelar
Guardar