Skip to content

Commit

Permalink
miniscript: expanded should be an integer, not a bool
Browse files Browse the repository at this point in the history
  • Loading branch information
darosior committed Jan 21, 2022
1 parent 291072a commit 65365f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcoin/script/miniscript.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 65365f6

Please sign in to comment.