Skip to content

Commit

Permalink
fix bitcoind hostname in lndltc
Browse files Browse the repository at this point in the history
  • Loading branch information
reliveyy committed Sep 16, 2020
1 parent f29f714 commit 3029fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/lndltc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ elif [[ $MODE == "native" ]]; then
sed -i "s/rpchost.*/rpchost=litecoind/g" "$LND_CONF"
sed -i "s/rpcuser.*/rpcuser=xu/g" "$LND_CONF"
sed -i "s/rpcpass.*/rpcpass=xu/g" "$LND_CONF"
sed -i "s|zmqpubrawblock.*|zmqpubrawblock=tcp://bitcoind:28332|g" "$LND_CONF"
sed -i "s|zmqpubrawtx.*|zmqpubrawtx=tcp://bitcoind:28333|g" "$LND_CONF"
sed -i "s|zmqpubrawblock.*|zmqpubrawblock=tcp://litecoind:28332|g" "$LND_CONF"
sed -i "s|zmqpubrawtx.*|zmqpubrawtx=tcp://litecoind:28333|g" "$LND_CONF"
elif [[ $MODE == "external" ]]; then
sed -i '/routing/,$d' "$LND_CONF"
sed -i "s/litecoin.node=.*/litecoin.node=litecoind/g" "$LND_CONF"
Expand Down

0 comments on commit 3029fcd

Please sign in to comment.