diff --git a/home.admin/config.scripts/lnd.unlock.py b/home.admin/config.scripts/lnd.unlock.py index a85ed2c25..c23028cc0 100644 --- a/home.admin/config.scripts/lnd.unlock.py +++ b/home.admin/config.scripts/lnd.unlock.py @@ -3,7 +3,7 @@ import base64, codecs, json, requests, sys url = 'https://localhost:8080/v1/unlockwallet' cert_path = '/mnt/hdd/lnd/tls.cert' data = { - 'wallet_password': base64.b64encode(sys.argv[1:]).decode() + 'wallet_password': base64.b64encode(sys.argv[1]).decode() } r = requests.post(url, verify=cert_path, data=json.dumps(data)) print(r.json()) \ No newline at end of file