From 1e40898d188c103eba696fd253904b9947739f6e Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Tue, 30 Apr 2019 22:17:29 +0200 Subject: [PATCH] seperated by space --- home.admin/config.scripts/lnd.initwallet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home.admin/config.scripts/lnd.initwallet.py b/home.admin/config.scripts/lnd.initwallet.py index 714d30a31..507b95771 100644 --- a/home.admin/config.scripts/lnd.initwallet.py +++ b/home.admin/config.scripts/lnd.initwallet.py @@ -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)