This commit is contained in:
Believethehype
2024-10-18 16:08:06 +02:00
parent 17606e756b
commit 1041d29b5c
2 changed files with 9 additions and 11 deletions

View File

@@ -111,7 +111,7 @@ def is_input_supported_generic(tags, client, dvm_config) -> bool:
else:
input_value = tag.as_vec()[1]
input_type = tag.as_vec()[2]
#if input_type == "event":
# if input_type == "event":
# evt = get_event_by_id(input_value, client=client, config=dvm_config)
# if evt is None:
# print("Event not found")

View File

@@ -1,7 +1,6 @@
import base64
import json
import requests
from nostr_dvm.utils.database_utils import get_or_add_user
@@ -10,7 +9,6 @@ from nostr_dvm.utils.zap_utils import create_bolt11_ln_bits, create_bolt11_lud16
BASE_URL = "https://mint.minibits.cash/Bitcoin"
def parse_cashu(cashu_token: str):
try:
prefix = "cashuA"