File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export class ConfigService {
146
146
this . common . nodes [ idx ] = { settings : { blockExplorerUrl : '' } , authentication : { } } ;
147
147
this . common . nodes [ idx ] . index = node . index ;
148
148
this . common . nodes [ idx ] . lnNode = node . lnNode ;
149
- this . common . nodes [ idx ] . lnImplementation = ( process ?. env ?. lnImplementation ) ? process ?. env ?. lnImplementation : node . lnImplementation ? node . lnImplementation : 'LND' ;
149
+ this . common . nodes [ idx ] . lnImplementation = ( process ?. env ?. LN_IMPLEMENTATION ) ? process ?. env ?. LN_IMPLEMENTATION : node . lnImplementation ? node . lnImplementation : 'LND' ;
150
150
if ( this . common . nodes [ idx ] . lnImplementation === 'CLT' ) {
151
151
this . common . nodes [ idx ] . lnImplementation = 'CLN' ;
152
152
}
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ docker build -t rtl:${RTL_VERSION} -f dockerfiles/Dockerfile .
74
74
Create an environment file with your required configurations. Sample .env:
75
75
```
76
76
RTL_CONFIG_PATH=/RTLConfig
77
+ LN_IMPLEMENTATION=LND
77
78
MACAROON_PATH=/LNDMacaroon
78
79
LN_SERVER_URL=https://host.docker.internal:8080
79
80
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export class ConfigService {
150
150
this . common . nodes [ idx ] = { settings : { blockExplorerUrl : '' } , authentication : { } } ;
151
151
this . common . nodes [ idx ] . index = node . index ;
152
152
this . common . nodes [ idx ] . lnNode = node . lnNode ;
153
- this . common . nodes [ idx ] . lnImplementation = ( process ?. env ?. lnImplementation ) ? process ?. env ?. lnImplementation : node . lnImplementation ? node . lnImplementation : 'LND' ;
153
+ this . common . nodes [ idx ] . lnImplementation = ( process ?. env ?. LN_IMPLEMENTATION ) ? process ?. env ?. LN_IMPLEMENTATION : node . lnImplementation ? node . lnImplementation : 'LND' ;
154
154
if ( this . common . nodes [ idx ] . lnImplementation === 'CLT' ) { this . common . nodes [ idx ] . lnImplementation = 'CLN' ; }
155
155
switch ( this . common . nodes [ idx ] . lnImplementation ) {
156
156
case 'CLN' :
You can’t perform that action at this time.
0 commit comments