chore: code clean-up

This commit is contained in:
Vlad Stan 2023-06-22 17:10:34 +03:00
parent 811bfdc45a
commit defb9b8963
2 changed files with 1 additions and 10 deletions

View file

@ -6,12 +6,7 @@ from ..subscription import Subscription
class NostrClient:
relays = [
"wss://nostr-pub.wellorder.net",
"wss://nostr.zebedee.cloud",
"wss://nodestr.fmt.wiz.biz",
"wss://nostr.oxtr.dev",
]
relays = [ ]
relay_manager = RelayManager()
def __init__(self, relays: List[str] = [], connect=True):
@ -24,8 +19,6 @@ class NostrClient:
for relay in self.relays:
self.relay_manager.add_relay(relay)
def close(self):
self.relay_manager.close_connections()