File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ def _get_environment(self) -> List[str]:
54
54
]
55
55
56
56
lndbtc = self .config .nodes ["lndbtc" ]
57
+ env .append ("LNDBTC_MODE={}" .format (lndbtc ["mode" ]))
57
58
if lndbtc ["mode" ] == "external" :
58
59
env .extend ([
59
60
"LNDBTC_RPC_HOST={}" .format (lndbtc ["rpc_host" ]),
@@ -63,6 +64,7 @@ def _get_environment(self) -> List[str]:
63
64
])
64
65
65
66
lndltc = self .config .nodes ["lndltc" ]
67
+ env .append ("LNDLTC_MODE={}" .format (lndltc ["mode" ]))
66
68
if lndltc ["mode" ] == "external" :
67
69
env .extend ([
68
70
"LNDLTC_RPC_HOST={}" .format (lndbtc ["rpc_host" ]),
Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ CONNEXT_IP=$(getent hosts connext || echo '' | awk '{ print $1 }')
66
66
echo " $CONNEXT_IP connext" >> /etc/hosts
67
67
68
68
69
- while [[ ! -e /root/.lndbtc/tls.cert ]]; do
69
+ while [[ $LNDBTC_MODE == " native " && ! -e /root/.lndbtc/tls.cert ]]; do
70
70
echo " [entrypoint] Waiting for /root/.lndbtc/tls.cert to be created..."
71
71
sleep 1
72
72
done
73
73
74
- while [[ ! -e /root/.lndltc/tls.cert ]]; do
74
+ while [[ $LNDLTC_MODE == " native " && ! -e /root/.lndltc/tls.cert ]]; do
75
75
echo " [entrypoint] Waiting for /root/.lndltc/tls.cert to be created..."
76
76
sleep 1
77
77
done
You can’t perform that action at this time.
0 commit comments