@@ -40,7 +40,7 @@ namespace miniscript {
4040 * - For example: older(n) = <n> OP_CHECKSEQUENCEVERIFY.
4141 * - "V" Verify:
4242 * - Takes its inputs from the top of the stack.
43- * - When satisfactied , pushes nothing.
43+ * - When satisfied , pushes nothing.
4444 * - Cannot be dissatisfied.
4545 * - This can be obtained by adding an OP_VERIFY to a B, modifying the last opcode
4646 * of a B to its -VERIFY version (only for OP_CHECKSIG, OP_CHECKSIGVERIFY
@@ -329,6 +329,8 @@ struct Node {
329329 * computes the result of the node. If std::nullopt is returned by upfn,
330330 * TreeEvalMaybe() immediately returns std::nullopt.
331331 * The return value of TreeEvalMaybe is the result of the root node.
332+ *
333+ * Result type cannot be bool due to the std::vector<bool> specialization.
332334 */
333335 template <typename Result, typename State, typename DownFn, typename UpFn>
334336 std::optional<Result> TreeEvalMaybe (State root_state, DownFn downfn, UpFn upfn) const
@@ -858,7 +860,7 @@ enum class ParseContext {
858860
859861int FindNextChar (Span<const char > in, const char m);
860862
861- /* * Parse a key string ending with a ')' or ',' . */
863+ /* * Parse a key string ending at the end of the fragment's text representation . */
862864template <typename Key, typename Ctx>
863865std::optional<std::pair<Key, int >> ParseKeyEnd (Span<const char > in, const Ctx& ctx)
864866{
0 commit comments