From 64435c64f0c185d8e84ba9a5c2a2cae31e1dffff Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Fri, 12 Apr 2019 12:43:30 +0100 Subject: [PATCH] testing response --- home.admin/71initLND.sh | 5 ++++- home.admin/config.scripts/lnd.initwallet.py | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/home.admin/71initLND.sh b/home.admin/71initLND.sh index 76197ce..b30a724 100755 --- a/home.admin/71initLND.sh +++ b/home.admin/71initLND.sh @@ -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 \ No newline at end of file +python /home/admin/config.scripts/lnd.initwallet.py new ahdahdkash \ No newline at end of file diff --git a/home.admin/config.scripts/lnd.initwallet.py b/home.admin/config.scripts/lnd.initwallet.py index 1b7abaa..46548d3 100644 --- a/home.admin/config.scripts/lnd.initwallet.py +++ b/home.admin/config.scripts/lnd.initwallet.py @@ -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