1
This commit is contained in:
parent
0bbb765c8d
commit
12ba69e75f
@ -61,7 +61,7 @@ func (this *vip) AddEx(accountAddress string, val string, idx int64, valField st
|
||||
updateKv = append(updateKv, extKv...)
|
||||
insertKv = append(insertKv, extKv...)
|
||||
if ds.Next() {
|
||||
if q5.ToInt64(ds.GetByName(idxField)) <= idx {
|
||||
if q5.ToInt64(ds.GetByName(idxField)) >= idx {
|
||||
return true
|
||||
}
|
||||
err1, _, _ := f5.GetGoStyleDb().NewUpdate(
|
||||
|
@ -95,7 +95,7 @@ func (this *stackingCec) saveToDb(ds *f5.DataSet) bool {
|
||||
return false
|
||||
}
|
||||
} else if eventName == EVENT_NAME_UNSTAKE_CEC {
|
||||
if service.Vip.Add(
|
||||
if !service.Vip.Add(
|
||||
p.Account,
|
||||
"-" + p.Amount,
|
||||
idx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user