File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3838 faradayArgs = []string {
3939 "--rpclisten=localhost:8465" ,
4040 "--network=regtest" ,
41- "--lnd.macaroonpath=lnd-alice/data/chain/bitcoin/regtest/admin .macaroon" ,
41+ "--lnd.macaroonpath=lnd-alice/faraday-custom .macaroon" ,
4242 "--lnd.tlscertpath=lnd-alice/tls.cert" ,
4343 "--debuglevel=debug" ,
4444 "--connect_bitcoin" ,
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ function start_lnds() {
4343
4444 waitnoerror $LNCLI_SERVER getinfo
4545 waitnoerror $LNCLI_CLIENT getinfo
46+
47+ # Create custom macaroon for faraday to use.
48+ PERMS=" onchain:read offchain:read address:read peers:read info:read invoices:read uri:/signrpc.Signer/DeriveSharedKey"
49+ $LNCLI_SERVER bakemacaroon --save_to lnd-alice/faraday-custom.macaroon $PERMS
4650}
4751
4852function stop_all() {
You can’t perform that action at this time.
0 commit comments