From 8dccce8f8810d6f79cd5aa5382efba2ea0beeef4 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Mon, 17 Jun 2024 16:40:40 +0200 Subject: [PATCH] typo --- nostr_dvm/bot.py | 4 ++-- nostr_dvm/utils/dvmconfig.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nostr_dvm/bot.py b/nostr_dvm/bot.py index 16bd21f..66fbc10 100644 --- a/nostr_dvm/bot.py +++ b/nostr_dvm/bot.py @@ -741,8 +741,8 @@ class Bot: elif ispaid is None: # invoice expired self.invoice_list.remove(invoice) - if Timestamp.now().as_secs() > invoice.expires: - self.job_list.remove(invoice) + elif Timestamp.now().as_secs() > invoice.expires: + self.invoice_list.remove(invoice) await asyncio.sleep(1.0) diff --git a/nostr_dvm/utils/dvmconfig.py b/nostr_dvm/utils/dvmconfig.py index 96eb574..965558e 100644 --- a/nostr_dvm/utils/dvmconfig.py +++ b/nostr_dvm/utils/dvmconfig.py @@ -16,7 +16,7 @@ class DVMConfig: FIX_COST: float = None PER_UNIT_COST: float = None - RELAY_LIST = ["wss://dvms.f7z.io", + RELAY_LIST = ["wss://dvms.f7z.io", "wss://relay.primal.net", "wss://nostr.mom", "wss://nostr.oxtr.dev", "wss://relay.nostr.bg", "wss://relay.nostr.net" ]