mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
fa24fdcb7flint: Remove string exclusion from locale check (MarcoFalke) Pull request description: The exclusion isn't needed. In fact, it prevents detection of `"bla" + wrong()`. For example, the following is not detected: ```diff diff --git a/src/wallet/rpc/addresses.cpp b/src/wallet/rpc/addresses.cpp index 1c2951deee..c1209013e5 100644 --- a/src/wallet/rpc/addresses.cpp +++ b/src/wallet/rpc/addresses.cpp @@ -336,7 +336,8 @@ RPCHelpMan addmultisigaddress() RPCHelpMan keypoolrefill() { return RPCHelpMan{"keypoolrefill", - "\nFills the keypool."+ + "\nRefills each descriptor keypool in the wallet up to the specified number of new keys.\n" + "By default, descriptor wallets have 4 active ranged descriptors (\"legacy\", \"p2sh-segwit\", \"bech32\", and \"bech32m\"), each with " + std::to_string(DEFAULT_KEYPOOL_SIZE) + " entries.\n" + HELP_REQUIRING_PASSPHRASE, { {"newsize", RPCArg::Type::NUM, RPCArg::DefaultHint{strprintf("%u, or as set by -keypool", DEFAULT_KEYPOOL_SIZE)}, "The new keypool size"}, ``` Fix the script by detecting it. ACKs for top commit: laanwj: Code review ACKfa24fdcb7f. rkrux: ACKfa24fdcb7fw0xlt: ACKfa24fdcb7fTree-SHA512: cb7e6ed9fec5d2089e94031329ebf26b83a1814ffbbbca94f7527c127bc759d13c0f4ea79b71ff7f5f009d071dcf01958c8921163d6dc5e1ae6256cc40b57eea
7.8 KiB
Executable File
7.8 KiB
Executable File