Allow string-set bootnodes to still work

Signed-off-by: Edward Evans <edward.evans@consensys.net>
pull/17/head
Edward Evans 5 years ago
parent b9d7d6f31b
commit 30a605ffd0
No known key found for this signature in database
GPG Key ID: D043D2B173BC2484
  1. 7
      templates/config.toml.j2

@ -94,13 +94,18 @@ permissions-nodes-contract-address="{{ besu_permissions_nodes_contract_address }
{% endif %} {% endif %}
{% if besu_bootnodes|length > 0 %} {% if besu_bootnodes|length > 0 %}
{% if besu_bootnodes is string %}
# bootnodes
bootnodes={{besu_bootnodes}}
{% else %}
# bootnodes # bootnodes
bootnodes=[{{besu_bootnodes|map('to_json')|join(',')}}] bootnodes=[{{besu_bootnodes|map('to_json')|join(',')}}]
{% endif %} {% endif %}
{% endif %}
{% if orion_version is defined %} {% if orion_version is defined %}
# Orion # Orion
privacy-enabled=true privacy-enabled=true
privacy-url="http://127.0.0.1:8888" privacy-url="http://127.0.0.1:8888"
privacy-public-key-file="{{ orion_config_dir }}/{{ orion_key_name }}.pub" privacy-public-key-file="{{ orion_config_dir }}/{{ orion_key_name }}.pub"
{% endif %} {% endif %}

Loading…
Cancel
Save