1
This commit is contained in:
parent
08e1564c67
commit
e4abee1a86
@ -40,7 +40,7 @@ func (this *vip) AddEx(accountAddress string, val string, idx int64, valField st
|
|||||||
constant.BCNFT_DB,
|
constant.BCNFT_DB,
|
||||||
"t_vip_user",
|
"t_vip_user",
|
||||||
[][]string {
|
[][]string {
|
||||||
{"address", accountAddress},
|
{"account_address", accountAddress},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false
|
return false
|
||||||
|
@ -38,7 +38,7 @@ func (this *esCecTransfer) process(netId int32, contractAddress string) {
|
|||||||
func (lastIdx int64, maxIdx int64) (string, []string) {
|
func (lastIdx int64, maxIdx int64) (string, []string) {
|
||||||
sql := fmt.Sprintf(`
|
sql := fmt.Sprintf(`
|
||||||
SELECT * FROM t_blockchain_event
|
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
|
ORDER BY idx LIMIT 1000
|
||||||
`,
|
`,
|
||||||
lastIdx,
|
lastIdx,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user