From 34ea20d44b44351808a72aab2fcc3cd64791566a Mon Sep 17 00:00:00 2001 From: /geco Date: Sun, 23 Dec 2018 21:46:42 +0100 Subject: [PATCH] fixed curl data --- home.admin/_background.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/_background.sh b/home.admin/_background.sh index 4136f60..0d1fd17 100644 --- a/home.admin/_background.sh +++ b/home.admin/_background.sh @@ -133,7 +133,7 @@ do #macaroonData=$(xxd -ps -u -c 1000 /home/bitcoin/.lnd/data/chain/${network}/${chain}net/admin.macaroon) echo "macaroonData --> ${MACAROON_HEADER}" - command="curl -X POST -d \"{\"wallet_password\": \"${walletPasswordBase64}\"}\" --cacert /mnt/hdd/lnd/tls.cert --header \"$MACAROON_HEADER\" https://localhost:8080/v1/unlockwallet 2>&1" + command="curl -X POST -d '{\"wallet_password\": \"${walletPasswordBase64}\"}' --cacert /mnt/hdd/lnd/tls.cert --header \"$MACAROON_HEADER\" https://localhost:8080/v1/unlockwallet 2>&1" # build curl command #command="curl \