mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-29 11:01:41 +01:00
fix for cashutoken redeemed
This commit is contained in:
parent
4d9917c850
commit
f9144a9820
@ -1,8 +1,6 @@
|
||||
anyio==3.7.1
|
||||
beautifulsoup4==4.12.2
|
||||
bech32==1.2.0
|
||||
bitarray==2.8.3
|
||||
bitstring==4.1.3
|
||||
blessed==1.20.0
|
||||
cassidy==0.1.4
|
||||
certifi==2023.7.22
|
||||
@ -12,12 +10,10 @@ distro==1.8.0
|
||||
emoji==2.8.0
|
||||
enumb==0.1.5
|
||||
eva-decord==0.6.1
|
||||
exceptiongroup==1.2.0
|
||||
expo==0.1.2
|
||||
ffmpegio==0.8.5
|
||||
ffmpegio-core==0.8.5
|
||||
h11==0.14.0
|
||||
httpcore==1.0.2
|
||||
httpx==0.25.1
|
||||
idna==3.4
|
||||
inquirer==3.1.3
|
||||
|
@ -289,7 +289,7 @@ def redeem_cashu(cashu, required_amount, config, client) -> (bool, str):
|
||||
return False, err
|
||||
|
||||
if config.LNBITS_INVOICE_KEY != "":
|
||||
invoice = create_bolt11_ln_bits(redeem_invoice_amount, config)
|
||||
invoice, paymenthash = create_bolt11_ln_bits(redeem_invoice_amount, config)
|
||||
else:
|
||||
user = get_or_add_user(db=config.DB, npub=config.PUBLIC_KEY,
|
||||
client=client, config=config)
|
||||
|
Loading…
x
Reference in New Issue
Block a user