diff --git a/scripts/configure b/scripts/configure index 498f81a..f918fd4 100755 --- a/scripts/configure +++ b/scripts/configure @@ -298,6 +298,10 @@ LND_FEE_URL="" if BITCOIN_NETWORK == 'mainnet' and BITCOIN_NODE == 'neutrino': LND_FEE_URL="feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json" +BITCOIN_NETWORK_ELECTRS = BITCOIN_NETWORK +if BITCOIN_NETWORK_ELECTRS == "mainnet": + BITCOIN_NETWORK_ELECTRS = "bitcoin" + # Checks if a variable with the name exists, if not, check if an env var with the name existts # if neither exists, then exit with an error def get_var(var_name, other_locals, file_name): diff --git a/templates/electrs-sample.toml b/templates/electrs-sample.toml index e847ee6..61d0949 100644 --- a/templates/electrs-sample.toml +++ b/templates/electrs-sample.toml @@ -7,7 +7,7 @@ # A few modifications will be kept, including alias, color, channel size limitations and more if you contact us. log_filters = "INFO" -network = "" +network = "" db_dir = "/data/db" daemon_dir = "/bitcoin" daemon_rpc_addr = ":"