Fix Nostr events iteration

This commit is contained in:
thePR0M3TH3AN committed 2025-06-30 22:57:22 -04:00
1 parent 31ef4aef3a
commit a91e02b5c2
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ class NostrClient:
flt = flt.limit(f["limit"])
events = await self.client_pool.fetch_events(flt, Duration(seconds=timeout))
for evt in events:
for evt in events.to_vec():
handler(self.client_pool, "0", evt)
def subscribe(