Skip to content

Is sortedmulti fragment supported? #8

@louneskmt

Description

@louneskmt

Hi! Is the sortedmulti operator supported?

I've tried this descriptor: wsh(sortedmulti(2,tpubD6NzVbkrYhZ4YgjDd2FXNM3LVEHhopeVTfQmnUXWB8bGSoNKNzWHzTT3G8HYof6pLxn9qEwC5c9vVKWaFBUmqRzvZkdcXAzKWBFn9ETKMy5/0/*,tpubD6NzVbkrYhZ4Y33j8px4EZnUb3pxaz13AEc6QJTzWj3kcXpQc2Q4zKHhmMk4KsQV7CBjVUQYsfmdVCuQkT84zqYqKPbtFgiHyaGZ6KcC94N/0/*)) but I get the error Miniscript sortedmulti(2,@0,@1) is not sane. If I change sortedmulti to multi, it works as expected and doesn't raise any error.

I don't see SORTEDMULTI in the bindings, is that why?

case miniscript::Fragment::MULTI: return Props(node, "multi(" + std::to_string(node->k) + " of " + std::to_string(node->keys.size()) + ")");

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions