Sets the config depending on the environment type

def setup_environment(config: Dict[str, Any], environment_type: Environment) -> None:
    """Sets the config depending on the environment type"""
    # interpret the provided string argument
    if environment_type == Environment.PRODUCTION:
        # Safe configuration: restrictions for mainnet apply and matrix rooms have to be private
        config['transport']['matrix']['private_rooms'] = True

    config['environment_type'] = environment_type

    print(f'Raiden is running in {environment_type.value.lower()} mode')