remove unused variable from conftest (#13575)

This commit is contained in:
Kyle Altendorf 2022-09-30 18:50:01 -04:00 committed by GitHub
parent 0b3201635d
commit 9e1811a331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -676,7 +676,6 @@ def root_path_populated_with_config(tmp_chia_root) -> Path:
@pytest.fixture(scope="function")
def config_with_address_prefix(root_path_populated_with_config: Path, prefix: str) -> Dict[str, Any]:
updated_config: Dict[str, Any] = {}
with lock_and_load_config(root_path_populated_with_config, "config.yaml") as config:
if prefix is not None:
config["network_overrides"]["config"][config["selected_network"]]["address_prefix"] = prefix