fix types so tests compile.

This commit is contained in:
fiatjaf
2025-05-12 09:34:25 -03:00
parent f4855dba4e
commit 7b1f4ae49a
17 changed files with 64 additions and 71 deletions

View File

@@ -47,7 +47,7 @@ func TestBasicStoreAndQuery(t *testing.T) {
// collect results
results := make([]nostr.Event, 0)
for event := range db.QueryEvents(filter) {
for event := range db.QueryEvents(filter, 500) {
results = append(results, event)
}