mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-22 22:44:20 +02:00
correct array length
This commit is contained in:
parent
96b0b524e3
commit
3c66bfbb62
@ -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…
x
Reference in New Issue
Block a user