diff --git a/nostr_dvm/bot.py b/nostr_dvm/bot.py index 992c04c..83bf2e2 100644 --- a/nostr_dvm/bot.py +++ b/nostr_dvm/bot.py @@ -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 diff --git a/nostr_dvm/dvm.py b/nostr_dvm/dvm.py index a1c97d1..a273b71 100644 --- a/nostr_dvm/dvm.py +++ b/nostr_dvm/dvm.py @@ -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.")