mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 11:37:19 +02:00
fixparameter in python
This commit is contained in:
@@ -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())
|
Reference in New Issue
Block a user