We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4704e5f commit a3fa4d6Copy full SHA for a3fa4d6
test/functional/test_framework/test_node.py
@@ -351,8 +351,7 @@ def batch(self, requests):
351
352
def send_cli(self, command=None, *args, **kwargs):
353
"""Run bitcoin-cli command. Deserializes returned string as python object."""
354
-
355
- pos_args = [str(arg) for arg in args]
+ pos_args = [str(arg).lower() if type(arg) is bool else str(arg) for arg in args]
356
named_args = [str(key) + "=" + str(value) for (key, value) in kwargs.items()]
357
assert not (pos_args and named_args), "Cannot use positional arguments and named arguments in the same bitcoin-cli call"
358
p_args = [self.binary, "-datadir=" + self.datadir] + self.options
0 commit comments