Skip to content

Commit 12b6c48

Browse files
authored
fix: boltz cli for not lowercase chain (#759)
1 parent 01e923c commit 12b6c48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/utils/launcher/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def handle_command(self, cmd):
178178
elif arg0 == "deposit":
179179
if len(args) == 0:
180180
print("Missing chain")
181-
chain = args[0]
181+
chain = args[0].lower()
182182
args = args[1:]
183183
if chain == "btc":
184184
self.node_manager.cli("boltz", "btc", "deposit", *args)
@@ -189,7 +189,7 @@ def handle_command(self, cmd):
189189
elif arg0 == "withdraw":
190190
if len(args) == 0:
191191
print("Missing chain")
192-
chain = args[0]
192+
chain = args[0].lower()
193193
args = args[1:]
194194
if chain == "btc":
195195
self.node_manager.cli("boltz", "btc", "withdraw", *args)

0 commit comments

Comments
 (0)