mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-09 18:32:39 +02:00
fix zaprequest
This commit is contained in:
@@ -442,9 +442,11 @@ class Bot:
|
|||||||
npub=nostr_event.author().to_hex(),
|
npub=nostr_event.author().to_hex(),
|
||||||
client=self.client, config=self.dvm_config)
|
client=self.client, config=self.dvm_config)
|
||||||
print("Paying: " + user.name)
|
print("Paying: " + user.name)
|
||||||
bolt11 = zaprequest(user.lud16, amount, "Zap", nostr_event, self.keys,
|
bolt11 = zaprequest(user.lud16, amount, "Zap", nostr_event, None,
|
||||||
self.dvm_config,
|
self.keys,
|
||||||
|
self.dvm_config.RELAY_LIST,
|
||||||
"private")
|
"private")
|
||||||
|
|
||||||
if bolt11 is None:
|
if bolt11 is None:
|
||||||
print("Receiver has no Lightning address")
|
print("Receiver has no Lightning address")
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user