This commit is contained in:
aozhiwei 2024-08-02 17:37:58 +08:00
parent 7db2da0f85
commit 11b46028a8
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ func (this *recharge) 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 = ?
ORDER BY idx LIMIT 1000
`,
lastIdx,

@ -1 +1 @@
Subproject commit 4563ca43ba8cbe004b7b4fe774fb8d8142616cfa
Subproject commit faf8e28be3be2b14b183051bff6c402196f9606d