mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-21 14:37:05 +01:00
cleanup
This commit is contained in:
@@ -111,7 +111,7 @@ def is_input_supported_generic(tags, client, dvm_config) -> bool:
|
|||||||
else:
|
else:
|
||||||
input_value = tag.as_vec()[1]
|
input_value = tag.as_vec()[1]
|
||||||
input_type = tag.as_vec()[2]
|
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)
|
# evt = get_event_by_id(input_value, client=client, config=dvm_config)
|
||||||
# if evt is None:
|
# if evt is None:
|
||||||
# print("Event not found")
|
# print("Event not found")
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from nostr_dvm.utils.database_utils import get_or_add_user
|
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"
|
BASE_URL = "https://mint.minibits.cash/Bitcoin"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def parse_cashu(cashu_token: str):
|
def parse_cashu(cashu_token: str):
|
||||||
try:
|
try:
|
||||||
prefix = "cashuA"
|
prefix = "cashuA"
|
||||||
|
|||||||
Reference in New Issue
Block a user