mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 23:02:00 +02:00
correct array length
This commit is contained in:
@@ -22,7 +22,7 @@ if mode=="new":
|
|||||||
|
|
||||||
print("# *** CREATING NEW LND WALLET ***")
|
print("# *** CREATING NEW LND WALLET ***")
|
||||||
|
|
||||||
if len(sys.argv)>=2:
|
if len(sys.argv)>2:
|
||||||
walletpassword=sys.argv[2]
|
walletpassword=sys.argv[2]
|
||||||
if len(walletpassword)<8:
|
if len(walletpassword)<8:
|
||||||
print("err='wallet password is too short'")
|
print("err='wallet password is too short'")
|
||||||
@@ -31,7 +31,7 @@ if mode=="new":
|
|||||||
print("err='wallet password is too short'")
|
print("err='wallet password is too short'")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if len(sys.argv)>=3:
|
if len(sys.argv)>3:
|
||||||
seedpassword=sys.argv[3]
|
seedpassword=sys.argv[3]
|
||||||
|
|
||||||
elif mode=="seed":
|
elif mode=="seed":
|
||||||
|
Reference in New Issue
Block a user