mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-26 14:00:29 +01:00
fac1dd9dfftest: Fix authproxy named args debug logging (MarcoFalke) Pull request description: In Python the meaning of `args or argsn` is that `argsn` is fully ignored when `args` is a list with at least one element. However, the RPC server accepts mixed positional and named args in the same RPC. Fix the debug log by always printing both. Also, add a new `_json_dumps` helper to avoid bloated code. Can be tested via `--tracerpc` on a call that uses named args mixed with positional args. ACKs for top commit: i-am-yuvi: Tested ACKfac1dd9dffrkrux: tACKfac1dd9dffmusaHaruna: Tested ACK [fac1dd9](fac1dd9dff) ryanofsky: Code review ACKfac1dd9dff. Thanks for logging fix. This change should have been included in #19762 Tree-SHA512: ff63fbc2564b2c7589e9294baacf4c7a79f10d593776813392510702ca726e3893a29db3ba261f3aee1789a59bb215d7cb10fc85ca1a02632631d3722ddcdfc5