From eeecdb8120f9987b791f85e0ca343c4b1a88428d Mon Sep 17 00:00:00 2001 From: Believethehype Date: Fri, 29 Dec 2023 23:13:06 +0100 Subject: [PATCH] Update dvm.py --- nostr_dvm/dvm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nostr_dvm/dvm.py b/nostr_dvm/dvm.py index 0a8ddec..6a00219 100644 --- a/nostr_dvm/dvm.py +++ b/nostr_dvm/dvm.py @@ -512,8 +512,8 @@ class DVM: user = get_or_add_user(self.dvm_config.DB, job_event.pubkey().to_hex(), client=self.client, config=self.dvm_config) print(user.lud16 + " " + str(amount)) - bolt11 = zaprequest(user.lud16, amount, "Couldn't finish job, returning sats", job_event, - self.keys, self.dvm_config, zaptype="private") + bolt11 = zaprequest(user.lud16, amount, "Couldn't finish job, returning sats", job_event, user.npub, + self.keys, self.dvm_config.RELAY_LIST, zaptype="private") if bolt11 is None: print("Receiver has no Lightning address, can't zap back.") return