Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Sep 21, 2023
1 parent 48c1c00 commit abc3977
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/enclave/storage/enclavedb/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func FilterLogs(
column := fmt.Sprintf("topic%d", i)
query += " AND " + column + " in (?" + strings.Repeat(",?", len(sub)-1) + ")"
for _, topic := range sub {
queryParams = append(queryParams, truncTo16(topic))
queryParams = append(queryParams, topic.Bytes())
}
}
}
Expand Down Expand Up @@ -202,7 +202,6 @@ func DebugGetLogs(db *sql.DB, txHash common.TxHash) ([]*tracers.DebugLogs, error
LifecycleEvent: false,
}

// todo - read datablob
var t0, t1, t2, t3, t4 sql.NullString
var relAddress1, relAddress2, relAddress3, relAddress4 sql.NullByte
err = rows.Scan(
Expand Down

0 comments on commit abc3977

Please sign in to comment.