Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
tests: When testing with --usecli, unify RPC arg to cli arg conversion and handle dicts and lists #15301
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.
This was referenced
Jan 31, 2019
The problem goes away when I rebase on master, which includes #15246. I assume merging will have the same effect.