Allow for custom networks named other than custom

Signed-off-by: Edward Evans <edward.evans@consensys.net>
pull/4/head
Edward Evans 5 years ago
parent 995b1d9fd4
commit 0bcc41f5b7
No known key found for this signature in database
GPG Key ID: D043D2B173BC2484
  1. 2
      templates/config.toml.j2

@ -2,7 +2,7 @@
data-path="{{besu_data_dir}}" data-path="{{besu_data_dir}}"
logging="{{besu_log_level}}" logging="{{besu_log_level}}"
{% if besu_network.lower() != "custom" %} {% if besu_network.lower() in ["mainnet", "rinkeby", "goerli", "ropsten", "dev"] %}
network="{{besu_network}}" network="{{besu_network}}"
{% else %} {% else %}
genesis-file="{{ besu_genesis_path }}" genesis-file="{{ besu_genesis_path }}"

Loading…
Cancel
Save