From d0685730bdfe879f84606d4b50e288a8436cba60 Mon Sep 17 00:00:00 2001 From: Pat White Date: Mon, 18 Sep 2017 20:42:48 -0700 Subject: [PATCH] docker: don't specify datadir in lnd container In this commit, we fix a lingering issue in the execution of the lnd container, after the new macaroon based authentication was added. With the new authentication feature, if the datadir was changed, but `lncli` wasn't updated to point to the macaroon path, then none of the commands would work. To fix this, we simply omit setting the data directory. --- docker/lnd/start-lnd.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/docker/lnd/start-lnd.sh b/docker/lnd/start-lnd.sh index 7b6ed917..59897520 100755 --- a/docker/lnd/start-lnd.sh +++ b/docker/lnd/start-lnd.sh @@ -46,7 +46,6 @@ NETWORK=$(set_default "$NETWORK" "simnet") CHAIN=$(set_default "$CHAIN" "bitcoin") lnd \ - --datadir="/data" \ --logdir="/data" \ "--$CHAIN.rpccert"="/rpc/rpc.cert" \ "--$CHAIN.active" \