mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
[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>
This commit is contained in:
parent
f0794cbd40
commit
78407b99ed
17 changed files with 39 additions and 0 deletions
|
|
@ -297,6 +297,7 @@ using miniscript::operator"" _mst;
|
|||
using Node = miniscript::Node<CPubKey>;
|
||||
|
||||
/** Compute all challenges (pubkeys, hashes, timelocks) that occur in a given Miniscript. */
|
||||
// NOLINTNEXTLINE(misc-no-recursion)
|
||||
std::set<Challenge> FindChallenges(const NodeRef& ref) {
|
||||
std::set<Challenge> chal;
|
||||
for (const auto& key : ref->keys) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue