diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-01-31 17:29:24 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-01-31 17:29:26 -0500 |
commit | cb35f1d305d88934df64c2e7fb80700b673360e6 (patch) | |
tree | 49acc04d70a70aa991817914f5a9b4fd9b9b8fd3 /src/validationinterface.cpp | |
parent | 3b19d8e341a5234c3e41f59f7b3de8febfc51c21 (diff) | |
parent | 2e023419c5e77ba66fe1182cbc2bcabce59ea795 (diff) |
Merge #15301: tests: When testing with --usecli, unify RPC arg to cli arg conversion and handle dicts and lists
2e023419c5 tests: unify RPC argument to cli argument conversion and handle dicts and lists (Andrew Chow)
Pull request description:
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.
Tree-SHA512: 472bef3cd78410a8552fd342b1852bcd7c57721cfa9176b26bacda6b0791cc0b3758561a529c4117a7428242f98bb7d5482b2a2dcd06bea0ef2b15ae26183405
Diffstat (limited to 'src/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions