|
@ -133,7 +133,7 @@ do |
|
|
echo "macaroonData --> ${macaroonData}" |
|
|
echo "macaroonData --> ${macaroonData}" |
|
|
|
|
|
|
|
|
# build curl command |
|
|
# build curl command |
|
|
curlCommand="curl -s \ |
|
|
command="curl -s \ |
|
|
-H \"Grpc-Metadata-macaroon: ${macaroonData})\" \ |
|
|
-H \"Grpc-Metadata-macaroon: ${macaroonData})\" \ |
|
|
--cacert /home/bitcoin/.lnd/tls.cert \ |
|
|
--cacert /home/bitcoin/.lnd/tls.cert \ |
|
|
-X POST -d \"{\"wallet_password\": \"${walletPasswordBase64}\"}\" \ |
|
|
-X POST -d \"{\"wallet_password\": \"${walletPasswordBase64}\"}\" \ |
|
|