Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Jun 13, 2024
1 parent ad64425 commit 0894a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/enclave/storage/enclavedb/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func FilterLogs(
for i := 0; i < len(topics); i++ {
if len(topics[i]) > 0 {
if i == 0 {
query += " AND ec.event_sig IN (" + repeat("?", ",", len(topics[0])) + ")"
query += " AND et.event_sig IN (" + repeat("?", ",", len(topics[0])) + ")"
} else {
query += " AND t" + string(rune(i)) + ".topic IN (" + repeat("?", ",", len(topics[i])) + ")"
}
Expand Down

0 comments on commit 0894a39

Please sign in to comment.