diff --git a/rootfs/standard/usr/bin/mynode_startup.sh b/rootfs/standard/usr/bin/mynode_startup.sh index 327b970f..3408edee 100755 --- a/rootfs/standard/usr/bin/mynode_startup.sh +++ b/rootfs/standard/usr/bin/mynode_startup.sh @@ -205,10 +205,9 @@ fi chown bitcoin:bitcoin /opt/mynode/RTL/RTL-Config.json # BTC RPC Explorer Config -if [ ! -f /opt/mynode/btc-rpc-explorer/.env ]; then - cp /usr/share/mynode/btc_rpc_explorer_env /opt/mynode/btc-rpc-explorer/.env - chown bitcoin:bitcoin /opt/mynode/btc-rpc-explorer/.env -fi +cp /usr/share/mynode/btc_rpc_explorer_env /opt/mynode/btc-rpc-explorer/.env +chown bitcoin:bitcoin /opt/mynode/btc-rpc-explorer/.env + # Update files that need RPC password (needed if upgrades overwrite files) PW=$(cat /mnt/hdd/mynode/settings/.btcrpcpw) diff --git a/rootfs/standard/usr/share/mynode/btc_rpc_explorer_env b/rootfs/standard/usr/share/mynode/btc_rpc_explorer_env index 800d25f2..d570867f 100644 --- a/rootfs/standard/usr/share/mynode/btc_rpc_explorer_env +++ b/rootfs/standard/usr/share/mynode/btc_rpc_explorer_env @@ -24,7 +24,7 @@ BTCEXP_ADDRESS_API=electrumx # Optional ElectrumX Servers. See BTCEXP_ADDRESS_API. This value is only # used if BTCEXP_ADDRESS_API=electrumx #BTCEXP_ELECTRUMX_SERVERS=tls://electrumx.server.com:50002,tcp://127.0.0.1:50001,... -BTCEXP_ELECTRUMX_SERVERS=tls://127.0.0.1:50002 +BTCEXP_ELECTRUMX_SERVERS=tcp://127.0.0.1:50001 # Optional InfluxDB Credentials (URI -OR- HOST/PORT/DBNAME/USER/PASS) #BTCEXP_ENABLE_INFLUXDB=true