This commit is contained in:
Believethehype 2024-03-19 00:24:49 +01:00
parent 8a4796860d
commit b199fae7cd
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ class Bot:
create_sql_table(self.dvm_config.DB)
admin_make_database_updates(adminconfig=self.admin_config, dvmconfig=self.dvm_config, client=self.client)
# add_sql_table_column(dvm_config.DB)
class NotificationHandler(HandleNotification):
client = self.client

View File

@ -591,7 +591,7 @@ class DVM:
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,
user.npub,
PublicKey.parse(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.")