correct output

This commit is contained in:
Christian Rotzoll
2019-04-12 12:56:49 +01:00
parent b930f5a218
commit f186a4f27f
2 changed files with 7 additions and 5 deletions

View File

@@ -7,8 +7,10 @@
# - systemd says its running
# - TLS.cert was created
# CHECK 3: Does LND wallet already exists
# - yes: Jump to next point or ask to delete
# UI: Ask if user wants NEW wallet or RECOVER a wallet
source lnd/bin/activate
python /home/admin/config.scripts/lnd.initwallet.py new ahdahdkash
python /home/admin/config.scripts/lnd.initwallet.py new 12345678

View File

@@ -62,9 +62,9 @@ if mode=="new":
#)
request = ln.GenSeedRequest()
response = stub.GenSeed(request)
print(response)
seedwords = response.cipher_seed_mnemonic
print(len(seedwords))
seedwordsString=','.join(seedwords)
print("seedwords='"+seedwordsString+"'")
# TODO: do first https://api.lightning.community/#genseed
@@ -77,7 +77,7 @@ if mode=="new":
cipher_seed_mnemonic=seedwords
)
response = stub.InitWallet(request)
print(response)
#print(response)
elif mode=="seed":