Browse Source

fixed curl data

dev
/geco 6 years ago
parent
commit
34ea20d44b
  1. 2
      home.admin/_background.sh

2
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) #macaroonData=$(xxd -ps -u -c 1000 /home/bitcoin/.lnd/data/chain/${network}/${chain}net/admin.macaroon)
echo "macaroonData --> ${MACAROON_HEADER}" 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 # build curl command
#command="curl \ #command="curl \

Loading…
Cancel
Save