From 3742fe6a1522ec5a7b5a962560d4d60c95bb11a7 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:56:40 +0200 Subject: [PATCH] fix zaprequest --- nostr_dvm/bot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nostr_dvm/bot.py b/nostr_dvm/bot.py index 57dd8d9..d9fe712 100644 --- a/nostr_dvm/bot.py +++ b/nostr_dvm/bot.py @@ -442,9 +442,11 @@ class Bot: npub=nostr_event.author().to_hex(), client=self.client, config=self.dvm_config) print("Paying: " + user.name) - bolt11 = zaprequest(user.lud16, amount, "Zap", nostr_event, self.keys, - self.dvm_config, + bolt11 = zaprequest(user.lud16, amount, "Zap", nostr_event, None, + self.keys, + self.dvm_config.RELAY_LIST, "private") + if bolt11 is None: print("Receiver has no Lightning address") return