mirror of https://github.com/nucypher/nucypher.git
Apply RFC from #3576 that caught a bug.
Co-authored-by: vzotova <vikki.zta@gmail.com>pull/3576/head
parent
a074f676ff
commit
4ccfe68c36
|
@ -154,7 +154,7 @@ def _make_rest_app(this_node, log: Logger) -> Flask:
|
|||
"""
|
||||
# TODO: When non-evm chains are supported, bump the version.
|
||||
# this can return a list of chain names or other verifiable identifiers.
|
||||
providers = this_node.condition_providers.providers
|
||||
providers = this_node.condition_provider_manager.providers
|
||||
sorted_chain_ids = sorted(list(providers))
|
||||
payload = {"version": 1.0, "evm": sorted_chain_ids}
|
||||
return Response(json.dumps(payload), mimetype="application/json")
|
||||
|
|
|
@ -186,7 +186,7 @@ def setup_multichain_ursulas(chain_ids: List[int], ursulas: List[Ursula]) -> Non
|
|||
}
|
||||
)
|
||||
for ursula in ursulas:
|
||||
ursula.condition_providers = mocked_condition_providers
|
||||
ursula.condition_provider_manager = mocked_condition_providers
|
||||
|
||||
|
||||
MOCK_KNOWN_URSULAS_CACHE = dict()
|
||||
|
|
Loading…
Reference in New Issue