Incorrect named args are source of bugs, like #22979.
To allow them being checked by clang-tidy, use a format it can understand.
Incorrect named args are source of bugs, like #22979.
To allow them being checked by clang-tidy, use a format it can understand.
-BEGIN VERIFY SCRIPT-
sed -i -e 's|, /\* optional \*/ true,|, /*optional=*/true,|g' $( git grep -l ', /\* optional \*/ true,' )
-END VERIFY SCRIPT-
PSA: Also, please do use /*optional=*/true where needed. It wasted a lot of my time creating a follow-up after literally every merged RPC change to add the missing optional.
Alternatively, please review https://github.com/bitcoin/bitcoin/pull/23083
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
ACK fa9aaf8694c63200ad01fd5659aba4f409b2c3b9 - checked clang-tidy and it's fine here, (but throwing errors in other files. i.e wallet/test/wallet_tests.cpp).