This commit is contained in:
aozhiwei 2024-09-03 15:28:24 +08:00
parent ba289b468f
commit ad8e659440

View File

@ -110,6 +110,13 @@ func (this *stackingCec) saveToDb(ds *f5.DataSet) bool {
if dbErr != nil { if dbErr != nil {
return false return false
} }
if eventName == EVENT_NAME_STAKE_CEC {
this.applyStake(p)
} else if eventName == EVENT_NAME_UNSTAKE_CEC {
this.applyUnstake(p)
} else {
return false
}
} }
if !decodeJsonOk { if !decodeJsonOk {
jccommon.AddDbLog(constant.BCEVENT_DB, "stackingCec", "decodeJsonError", jccommon.AddDbLog(constant.BCEVENT_DB, "stackingCec", "decodeJsonError",