Browse Source

correct array length

master
Christian Rotzoll 6 years ago
parent
commit
3c66bfbb62
  1. 4
      home.admin/config.scripts/lnd.initwallet.py

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

@ -22,7 +22,7 @@ if mode=="new":
print("# *** CREATING NEW LND WALLET ***")
if len(sys.argv)>=2:
if len(sys.argv)>2:
walletpassword=sys.argv[2]
if len(walletpassword)<8:
print("err='wallet password is too short'")
@ -31,7 +31,7 @@ if mode=="new":
print("err='wallet password is too short'")
sys.exit(1)
if len(sys.argv)>=3:
if len(sys.argv)>3:
seedpassword=sys.argv[3]
elif mode=="seed":

Loading…
Cancel
Save