Ensure client pool reinitializes on relay update

This commit is contained in:
thePR0M3TH3AN
2025-07-13 21:38:52 -04:00
parent aed25f9810
commit cbad7ccf75
2 changed files with 21 additions and 0 deletions

View File

@@ -282,6 +282,7 @@ class NostrClient:
signer = NostrSigner.keys(self.keys)
self.client = Client(signer)
self._connected = False
self.initialize_client_pool()
def retrieve_json_from_nostr_sync(
self, retries: int | None = None, delay: float | None = None