From a7ea3804767b75f90d5b5033dcdfac3bec9c209b Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Sat, 23 Nov 2024 01:03:02 +0100 Subject: [PATCH] fix LNC attachment and docs (#1639) --- wallets/lnc/ATTACH.md | 4 ++-- wallets/lnc/client.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wallets/lnc/ATTACH.md b/wallets/lnc/ATTACH.md index a003823e..6118253c 100644 --- a/wallets/lnc/ATTACH.md +++ b/wallets/lnc/ATTACH.md @@ -7,12 +7,12 @@ This can be done one of two ways: We only need permissions for the uri `/lnrpc.Lightning/SendPaymentSync` ```bash -$ sndev stacker_litcli accounts create --balance +$ sndev cli litd accounts create --balance ``` Grab the `account.id` from the output and use it here: ```bash -$ sndev stacker_litcli sessions add --type custom --label --account_id --uri /lnrpc.Lightning/SendPaymentSync +$ sndev cli litd sessions add --type custom --label --account_id --uri /lnrpc.Lightning/SendPaymentSync ``` Grab the `pairing_secret_mnemonic` from the output and that's your pairing phrase. diff --git a/wallets/lnc/client.js b/wallets/lnc/client.js index 03f04152..6c8def20 100644 --- a/wallets/lnc/client.js +++ b/wallets/lnc/client.js @@ -95,7 +95,7 @@ async function getLNC (credentials = {}) { } return window.lnc } - const { default: { default: LNC } } = await import('@lightninglabs/lnc-web') + const { default: LNC } = await import('@lightninglabs/lnc-web') window.lnc = new LNC({ credentialStore: new LncCredentialStore({ ...credentials,