From 2ddc23de04fd2e70e044223cf5f2c2be3a85cb55 Mon Sep 17 00:00:00 2001 From: benarc Date: Mon, 20 Jul 2020 21:32:55 +0100 Subject: [PATCH] LNURLw fix --- lnbits/extensions/withdraw/crud.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lnbits/extensions/withdraw/crud.py b/lnbits/extensions/withdraw/crud.py index b7ebc2a8..f6effa8f 100644 --- a/lnbits/extensions/withdraw/crud.py +++ b/lnbits/extensions/withdraw/crud.py @@ -16,9 +16,11 @@ def create_withdraw_link( uses: int, wait_time: int, is_unique: bool, + usescsv: str, ) -> WithdrawLink: with open_ext_db("withdraw") as db: + link_id = urlsafe_short_hash() db.execute( """