1
This commit is contained in:
parent
8c1efd1baa
commit
c6c3abb1c8
@ -139,6 +139,22 @@ func (this *stackingCec) apply(idx int64, eventName string,
|
||||
bnAmount = big.NewInt(0).Sub(big.NewInt(0), bnAmount)
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
dbErr, ds := f5.GetGoStyleDb().NewOrmSelect(
|
||||
constant.BCNFT_DB,
|
||||
"t_staking_cec",
|
||||
[][]string{
|
||||
{"account_address", strings.ToLower(p.Account)},
|
||||
{"token_address", strings.ToLower(p.Token)},
|
||||
},
|
||||
)
|
||||
if dbErr != nil {
|
||||
return false
|
||||
}
|
||||
if ds.Next() {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user