Browse Source

fix syntax

master
Christian Rotzoll 6 years ago
parent
commit
2e95b338f6
  1. 10
      home.admin/config.scripts/lnd.initwallet.py

10
home.admin/config.scripts/lnd.initwallet.py

@ -59,10 +59,14 @@ if mode=="new":
request=False
if len(seedpassword)>0:
request = ln.InitWalletRequest(wallet_password=base64.b64encode(walletpassword.decode(),aezeed_passphrase=base64.b64encode(seedpassword).decode())
request = ln.InitWalletRequest(
wallet_password=base64.b64encode(walletpassword.decode()),
aezeed_passphrase=base64.b64encode(seedpassword).decode())
)
else:
request = ln.InitWalletRequest(wallet_password=base64.b64encode(walletpassword.decode())
request = ln.InitWalletRequest(
wallet_password=base64.b64encode(walletpassword.decode())
)
response = stub.InitWallet(request)
print(response)

Loading…
Cancel
Save