Fix Nostr events iteration

This commit is contained in:
thePR0M3TH3AN
2025-06-30 22:57:22 -04:00
parent 31ef4aef3a
commit a91e02b5c2

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(