diff --git a/contrib/pyln-testing/pyln/testing/fixtures.py b/contrib/pyln-testing/pyln/testing/fixtures.py index dede9e88d..599c87925 100644 --- a/contrib/pyln-testing/pyln/testing/fixtures.py +++ b/contrib/pyln-testing/pyln/testing/fixtures.py @@ -458,8 +458,8 @@ def jsonschemas(): schemas = {} for fname in schemafiles: - if fname.startswith('lightning-') and fname.endswith('.json'): - base = fname.replace('lightning-', '').replace('.json', '') + if fname.endswith('.json'): + base = fname.replace('.json', '') # Request is 0 and Response is 1 schemas[base] = _load_schema(os.path.join('doc/schemas', fname)) return schemas