testing response

This commit is contained in:
Christian Rotzoll
2019-04-12 12:43:30 +01:00
parent cb79ee7d8e
commit 64435c64f0
2 changed files with 6 additions and 1 deletions

View File

@@ -7,5 +7,8 @@
# - systemd says its running
# - TLS.cert was created
# UI: Ask if user wants NEW wallet or RECOVER a wallet
source lnd/bin/activate
python /home/admin/config.scripts/lnd.initwallet.py ahdahdkash
python /home/admin/config.scripts/lnd.initwallet.py new ahdahdkash

View File

@@ -63,6 +63,8 @@ if mode=="new":
request = ln.GenSeedRequest()
response = stub.GenSeed(request)
print(response)
print(len(response.cipher_seed_mnemonic))
print(response.cipher_seed_mnemonic[1])
# TODO: do first https://api.lightning.community/#genseed