mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
next try
This commit is contained in:
parent
3e359a436c
commit
6314ea6dda
1 changed files with 2 additions and 2 deletions
|
@ -132,8 +132,8 @@ do
|
|||
# execute REST call
|
||||
#echo "${command}"
|
||||
#result=$($command)
|
||||
POSTDATA="{'wallet_password': '${walletPasswordBase64}'}"
|
||||
result=$(curl -X POST -d "${POSTDATA}" --cacert /home/bitcoin/.lnd/tls.cert --header "$MACAROON_HEADER" https://localhost:8080/v1/unlockwallet)
|
||||
POSTDATA="'{\"wallet_password\": \"${walletPasswordBase64}\"}'"
|
||||
result=$(curl -X POST -d ${POSTDATA} --cacert /home/bitcoin/.lnd/tls.cert --header "$MACAROON_HEADER" https://localhost:8080/v1/unlockwallet)
|
||||
echo "${result}"
|
||||
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue