implement nip-16 on closed and basic relays.

This commit is contained in:
fiatjaf
2022-07-24 11:48:34 -03:00
parent ca1d1ce58f
commit d2ce4dbf54
6 changed files with 42 additions and 34 deletions

View File

@@ -15,7 +15,7 @@ import (
func (b *BasicRelay) QueryEvents(filter *nostr.Filter) (events []nostr.Event, err error) {
var conditions []string
var params []interface{}
var params []any
if filter == nil {
err = errors.New("filter cannot be null")