mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
Merge pull request #71 from PR0M3TH3AN/codex/fix-nostr-retrieval-issue---events--not-iterable
Fix Nostr event retrieval
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user