1
This commit is contained in:
parent
ba289b468f
commit
ad8e659440
@ -110,6 +110,13 @@ func (this *stackingCec) saveToDb(ds *f5.DataSet) bool {
|
||||
if dbErr != nil {
|
||||
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 {
|
||||
jccommon.AddDbLog(constant.BCEVENT_DB, "stackingCec", "decodeJsonError",
|
||||
|
Loading…
x
Reference in New Issue
Block a user