From 58cfd06eab16e89b101f90938a7f99c82ccdbb00 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 15 Jul 2026 03:12:56 +0900 Subject: [PATCH] fetch: fix panic on note1 codes, nip19.Decode returns an EventPointer for those. --- fetch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch.go b/fetch.go index a112d18..fd9b1db 100644 --- a/fetch.go +++ b/fetch.go @@ -74,7 +74,7 @@ var fetch = &cli.Command{ } relays = append(relays, v.Relays...) case "note": - filter.IDs = append(filter.IDs, value.([32]byte)) + filter.IDs = append(filter.IDs, value.(nostr.EventPointer).ID) case "naddr": v := value.(nostr.EntityPointer) filter.Kinds = []nostr.Kind{v.Kind}