added private encrypted NIP90 jobs, use balance if available and ptag given

This commit is contained in:
Believethehype
2023-11-26 10:31:38 +01:00
parent 36439d3390
commit 5f4886f0ba
15 changed files with 356 additions and 212 deletions

View File

@@ -56,7 +56,7 @@ def check_task_is_supported(event, client, get_duration=False, config=None):
input_type = ""
duration = 1
task = get_task(event, client=client, dvmconfig=dvm_config)
for tag in event.tags():
for tag in event.tags:
if tag.as_vec()[0] == 'i':
if len(tag.as_vec()) < 3:
print("Job Event missing/malformed i tag, skipping..")