From 78407b99ed6dd17f687fcbfb0486ecc433302287 Mon Sep 17 00:00:00 2001 From: dergoegge Date: Thu, 21 Mar 2024 11:35:11 +0000 Subject: [clang-tidy] Enable the misc-no-recursion check Co-authored-by: stickies-v Co-authored-by: Gloria Zhao --- src/wallet/scriptpubkeyman.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/scriptpubkeyman.cpp') diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp index 59171f6db7..b42275fe4b 100644 --- a/src/wallet/scriptpubkeyman.cpp +++ b/src/wallet/scriptpubkeyman.cpp @@ -97,6 +97,7 @@ bool HaveKeys(const std::vector& pubkeys, const LegacyScriptPubKeyMan& //! @param recurse_scripthash whether to recurse into nested p2sh and p2wsh //! scripts or simply treat any script that has been //! stored in the keystore as spendable +// NOLINTNEXTLINE(misc-no-recursion) IsMineResult IsMineInner(const LegacyScriptPubKeyMan& keystore, const CScript& scriptPubKey, IsMineSigVersion sigversion, bool recurse_scripthash=true) { IsMineResult ret = IsMineResult::NO; -- cgit v1.2.3