Skip to content

Commit 685456b

Browse files
committed
fix cln alias
1 parent 0823cae commit 685456b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resources/charts/bitcoincore/charts/cln/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ data:
1414
bitcoin-rpcconnect={{ include "bitcoincore.fullname" . }}
1515
bitcoin-rpcport={{ index .Values.global .Values.global.chain "RPCPort" }}
1616
bitcoin-rpcpassword={{ .Values.global.rpcpassword }}
17-
alias={{ include "lnd.fullname" . }}.{{ .Release.Namespace }}
17+
alias={{ include "cln.fullname" . }}.{{ .Release.Namespace }}
1818
announce-addr=dns:{{ include "cln.fullname" . }}:{{ .Values.P2PPort }}
1919
database-upgrade=true
2020
bitcoin-retry-timeout=600

test/ln_basic_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ def test_admin_macaroons(self):
6464
info = json.loads(
6565
self.warnet("ln rpc tank-0001-ln --rpcserver=tank-0002-ln.default:10009 getinfo")
6666
)
67-
assert info["alias"] == "tank-0002-ln"
67+
assert info["alias"] == "tank-0002-ln.default"
6868
info = json.loads(
6969
self.warnet("ln rpc tank-0002-ln --rpcserver=tank-0005-ln.default:10009 getinfo")
7070
)
71-
assert info["alias"] == "tank-0005-ln"
71+
assert info["alias"] == "tank-0005-ln.default"
7272

7373
self.log.info("Testing lnd nodes with unique macaroon root key can NOT query each other")
7474
# These tanks are configured with unique macaroon root keys

0 commit comments

Comments
 (0)