mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-30 09:22:03 +00:00
Fix Nostr events iteration
This commit is contained in:
1 parent
31ef4aef3a
commit
a91e02b5c2
1 file changed
+1
-1
+1
-1
@@ -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