diff options
author | fanquake <fanquake@gmail.com> | 2022-04-02 16:01:40 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-04-04 09:01:19 +0100 |
commit | 37a16ffd7011828a8b6fa175bfc1f03be41bb261 (patch) | |
tree | 2a41d7eec22ed1d2d66341678e3635e87fcbb435 /src/wallet/rpc/addresses.cpp | |
parent | 62efdfb3be7be129c09506c46b21e5aa14f278cd (diff) | |
download | bitcoin-37a16ffd7011828a8b6fa175bfc1f03be41bb261.tar.xz |
refactor: fix clang-tidy named args usage
Diffstat (limited to 'src/wallet/rpc/addresses.cpp')
-rw-r--r-- | src/wallet/rpc/addresses.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpc/addresses.cpp b/src/wallet/rpc/addresses.cpp index 51587a64a3..d4f6c9d805 100644 --- a/src/wallet/rpc/addresses.cpp +++ b/src/wallet/rpc/addresses.cpp @@ -239,7 +239,7 @@ RPCHelpMan addmultisigaddress() {RPCResult::Type::STR, "address", "The value of the new multisig address"}, {RPCResult::Type::STR_HEX, "redeemScript", "The string value of the hex-encoded redemption script"}, {RPCResult::Type::STR, "descriptor", "The descriptor for this multisig"}, - {RPCResult::Type::ARR, "warnings", /* optional */ true, "Any warnings resulting from the creation of this multisig", + {RPCResult::Type::ARR, "warnings", /*optional=*/true, "Any warnings resulting from the creation of this multisig", { {RPCResult::Type::STR, "", ""}, }}, @@ -597,7 +597,7 @@ RPCHelpMan getaddressinfo() DescriptorScriptPubKeyMan* desc_spk_man = dynamic_cast<DescriptorScriptPubKeyMan*>(spk_man); if (desc_spk_man) { std::string desc_str; - if (desc_spk_man->GetDescriptorString(desc_str, /* priv */ false)) { + if (desc_spk_man->GetDescriptorString(desc_str, /*priv=*/false)) { ret.pushKV("parent_desc", desc_str); } } |