mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-18 05:41:51 +01:00
fix zaprequest
This commit is contained in:
parent
73e97c115d
commit
3742fe6a15
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user