From a91e02b5c2f585d696599ef49101b9305dc77fa7 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 30 Jun 2025 22:57:22 -0400 Subject: [PATCH] Fix Nostr events iteration --- src/nostr/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostr/client.py b/src/nostr/client.py index f4cff20..697b0eb 100644 --- a/src/nostr/client.py +++ b/src/nostr/client.py @@ -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(