This commit is contained in:
aozhiwei 2024-09-24 15:36:52 +08:00
parent 08e1564c67
commit e4abee1a86
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ func (this *vip) AddEx(accountAddress string, val string, idx int64, valField st
constant.BCNFT_DB,
"t_vip_user",
[][]string {
{"address", accountAddress},
{"account_address", accountAddress},
})
if err != nil {
return false

View File

@ -38,7 +38,7 @@ func (this *esCecTransfer) process(netId int32, contractAddress string) {
func (lastIdx int64, maxIdx int64) (string, []string) {
sql := fmt.Sprintf(`
SELECT * FROM t_blockchain_event
WHERE idx > %d AND idx <= %d AND net_id = %d AND contract_address = ? AND event_name IN (?, ?)
WHERE idx > %d AND idx <= %d AND net_id = %d AND contract_address = ? AND event_name IN (?)
ORDER BY idx LIMIT 1000
`,
lastIdx,