mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-09-29 21:43:07 +02:00
Update dvm.py
This commit is contained in:
@@ -419,7 +419,6 @@ class DVM:
|
|||||||
expires = original_event.created_at().as_secs() + (60 * 60 * 24)
|
expires = original_event.created_at().as_secs() + (60 * 60 * 24)
|
||||||
if status == "payment-required" or (status == "processing" and not is_paid):
|
if status == "payment-required" or (status == "processing" and not is_paid):
|
||||||
if dvm_config.LNBITS_INVOICE_KEY != "":
|
if dvm_config.LNBITS_INVOICE_KEY != "":
|
||||||
if dvm_config.LNBITS_INVOICE_KEY != "":
|
|
||||||
try:
|
try:
|
||||||
bolt11, payment_hash = create_bolt11_ln_bits(amount,dvm_config)
|
bolt11, payment_hash = create_bolt11_ln_bits(amount,dvm_config)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Reference in New Issue
Block a user