aboutsummaryrefslogtreecommitdiff
path: root/src/node/interfaces.cpp
diff options
context:
space:
mode:
authordergoegge <n.goeggi@gmail.com>2024-03-21 11:35:11 +0000
committerdergoegge <n.goeggi@gmail.com>2024-04-07 14:04:45 +0100
commit78407b99ed6dd17f687fcbfb0486ecc433302287 (patch)
tree61eca950e0d5b18ee4a8616ef913cf9ba3613746 /src/node/interfaces.cpp
parentf0794cbd405636a7f528a60f2873050b865cf7e8 (diff)
[clang-tidy] Enable the misc-no-recursion check
Co-authored-by: stickies-v <stickies-v@protonmail.com> Co-authored-by: Gloria Zhao <gloriajzhao@gmail.com>
Diffstat (limited to 'src/node/interfaces.cpp')
-rw-r--r--src/node/interfaces.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp
index f9a372e3de..4d2d83812e 100644
--- a/src/node/interfaces.cpp
+++ b/src/node/interfaces.cpp
@@ -406,6 +406,7 @@ public:
NodeContext* m_context{nullptr};
};
+// NOLINTNEXTLINE(misc-no-recursion)
bool FillBlock(const CBlockIndex* index, const FoundBlock& block, UniqueLock<RecursiveMutex>& lock, const CChain& active, const BlockManager& blockman)
{
if (!index) return false;