#3134 run cln api with cln_grpc

This commit is contained in:
rootzoll 2022-06-05 23:56:36 +02:00
parent 3db2bf6f44
commit 47318f958c

View File

@ -178,7 +178,7 @@ if [ "$1" = "update-config" ]; then
elif [ "${lightning}" == "cl" ]; then
echo "# CONFIG Web API Lightning --> CL"
sed -i "s/^ln_node=.*/ln_node=cl/g" ./.env
sed -i "s/^ln_node=.*/ln_node=cln_grpc/g" ./.env
# get hex values of pem files
hexClient=$(xxd -p -c2000 /home/bitcoin/.lightning/bitcoin/client.pem)