From a39a9a291c0b1e58d1c16ee04f04adee147c7f4c Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:32:16 +0100 Subject: [PATCH] more fixes --- nostr_dvm/utils/nostr_utils.py | 2 +- nostr_dvm/utils/outbox_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nostr_dvm/utils/nostr_utils.py b/nostr_dvm/utils/nostr_utils.py index a5a3212..f7069b5 100644 --- a/nostr_dvm/utils/nostr_utils.py +++ b/nostr_dvm/utils/nostr_utils.py @@ -236,7 +236,7 @@ async def send_event_outbox(event: Event, client, dvm_config) -> EventId: event_id = None print(e) - for relay in relays: + for relay in relays[:5]: try: await outboxclient.force_remove_relay(relay) except: diff --git a/nostr_dvm/utils/outbox_utils.py b/nostr_dvm/utils/outbox_utils.py index 5173e1a..fbc57d4 100644 --- a/nostr_dvm/utils/outbox_utils.py +++ b/nostr_dvm/utils/outbox_utils.py @@ -69,6 +69,6 @@ AVOID_OUTBOX_RELAY_LIST = ["wss://nos.lol", "wss://relay.f7z.io", "wss://nostr-relay.h3z.jp", "wss://nfrelay.app", "wss://r.kojira.io", "wss://jp-relay-nostr.invr.chat", "wss://nostream-production-5895.up.railway.app", - "ws://127.0.0.1:4869", "wss://sign.siamstr.com" + "ws://127.0.0.1:4869", "wss://sign.siamstr.com", "wss://relay.hash.stream" ]