mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
seperated by space
This commit is contained in:
parent
0f5fc9e203
commit
1e40898d18
1 changed files with 3 additions and 3 deletions
|
@ -7,8 +7,8 @@ if len(sys.argv) <= 1 or sys.argv[1] == "-h" or sys.argv[1] == "help":
|
|||
print("# ! and run with with: python /home/admin/config.scripts/lnd.initwallet.py")
|
||||
print("# creating or recovering the LND wallet")
|
||||
print("# lnd.winitwallet.py new [walletpassword] [?seedpassword]")
|
||||
print("# lnd.winitwallet.py seed [walletpassword] [seedstring] [?seedpassword]")
|
||||
print("# lnd.winitwallet.py scb [walletpassword] [seedstring] [filepathSCB] [?seedpassword]")
|
||||
print("# lnd.winitwallet.py seed [walletpassword] [\"seeds-words-seperated-spaces\"] [?seedpassword]")
|
||||
print("# lnd.winitwallet.py scb [walletpassword] [\"seeds-words-seperated-spaces\"] [filepathSCB] [?seedpassword]")
|
||||
print("err='missing parameters'")
|
||||
sys.exit(1)
|
||||
|
||||
|
@ -52,7 +52,7 @@ elif mode=="seed":
|
|||
|
||||
if len(sys.argv)>3:
|
||||
seedwordString=sys.argv[3]
|
||||
seedwords=seedwordString.split(",")
|
||||
seedwords=seedwordString.split(" ")
|
||||
if len(seedwords)<24:
|
||||
print("err='not 24 seed words seperated by just commas'")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue