mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-06-26 18:30:55 +02:00
Update dvm.py
This commit is contained in:
parent
38dff1f9ab
commit
eeecdb8120
@ -512,8 +512,8 @@ class DVM:
|
|||||||
user = get_or_add_user(self.dvm_config.DB, job_event.pubkey().to_hex(),
|
user = get_or_add_user(self.dvm_config.DB, job_event.pubkey().to_hex(),
|
||||||
client=self.client, config=self.dvm_config)
|
client=self.client, config=self.dvm_config)
|
||||||
print(user.lud16 + " " + str(amount))
|
print(user.lud16 + " " + str(amount))
|
||||||
bolt11 = zaprequest(user.lud16, amount, "Couldn't finish job, returning sats", job_event,
|
bolt11 = zaprequest(user.lud16, amount, "Couldn't finish job, returning sats", job_event, user.npub,
|
||||||
self.keys, self.dvm_config, zaptype="private")
|
self.keys, self.dvm_config.RELAY_LIST, zaptype="private")
|
||||||
if bolt11 is None:
|
if bolt11 is None:
|
||||||
print("Receiver has no Lightning address, can't zap back.")
|
print("Receiver has no Lightning address, can't zap back.")
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user