From b199fae7cdb62dcd8f5a142a9e32c4db7b998eed Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:24:49 +0100 Subject: [PATCH] fixes --- nostr_dvm/bot.py | 1 + nostr_dvm/dvm.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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.")