aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-01-23 15:51:35 -0500
committerAndrew Chow <achow101-github@achow101.com>2019-01-31 12:37:33 -0500
commit2e023419c5e77ba66fe1182cbc2bcabce59ea795 (patch)
tree158c1588ca889f764ebdefe9eb8ad6af7c293676 /src
parentefb6ddef9cb341428cbedf4373d1bdd19685a827 (diff)
tests: unify RPC argument to cli argument conversion and handle dicts and lists
When running tests with --usecli, unify the conversion from argument objects to strings using a new function arg_to_cli(). This fixes boolean arguments when using named arguments. Also use json.dumps() to get the string values for arguments that are dicts and lists so that bitcoind's JSON parser does not become confused.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions