Closed louisinger closed 4 months ago
Does it work without the spaces?
Does it work without the spaces?
nop, I've forget to remove them in the OP but before decoding I format the string. Note that the same code works well without covenants tokens.
When I run this locally, I get the same error as you, but removing the spaces fixes it.
indeed... I was using the ValueExpr
in the wrong way in my original testing descriptor:
value_eq(out_value(0),0000000000000000))) // explicit value without prefix
it led to the error "unexpected value_eq". my bad. Thanks :pray: I close the issue
Awesome, happy to help!
given the
examples/parse.rs
file, I'm trying to decode descriptor using covenant extensions.it fails with "Error: unexpected «value_eq(2 args) while parsing Miniscript»" error. Is it possible to add an example with introspections tokens in
parse.rs
?