From 65365f6949c988bd41615e9f22001dbc0ba1545e Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 21 Jan 2022 18:09:05 +0100 Subject: [PATCH] miniscript: expanded should be an integer, not a bool --- bitcoin/script/miniscript.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/script/miniscript.h b/bitcoin/script/miniscript.h index c09e7bc..fa44f85 100644 --- a/bitcoin/script/miniscript.h +++ b/bitcoin/script/miniscript.h @@ -386,7 +386,7 @@ struct Node { size_t expanded; //!< How many children of this node have been expanded. State state; //!< The state for that node. - StackElem(const Node& node_, bool exp_, State&& state_) : + StackElem(const Node& node_, size_t exp_, State&& state_) : node(node_), expanded(exp_), state(std::move(state_)) {} }; /* Stack of tree nodes being explored. */