Skip to content

Commit 4a97b4a

Browse files
committed
docker: Set explicit --network for lighting-cli
This should not be needed because we're specifying the exact --rpc-file to use, but c-lightning issues a (non-fatal) "please set network=testnet in config!" warning without this.
1 parent d5cca9e commit 4a97b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fi
7575
sleep 0.5
7676

7777
if command -v lightning-cli > /dev/null; then
78-
lightning-cli --rpc-file=$LN_NET_PATH/lightning-rpc getinfo > /dev/null
78+
lightning-cli --rpc-file=$LN_NET_PATH/lightning-rpc --network=$NETWORK getinfo > /dev/null
7979
echo -n "c-lightning RPC ready."
8080
fi
8181

0 commit comments

Comments
 (0)