You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While parsing descriptor which uses SortedMulti function as shown ->
let a=Descriptor::<DescriptorPublicKey>::parse_descriptor(&secp,"sortedmulti(2,03acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe,022f01e5e15cca351daff3843fb70f3c2f0a1bdd05e5af888a67784ef3e10a2a01)").unwrap();
I am getting this error->
called `Result::unwrap()` on an `Err` value: Unexpected("sortedmulti(3 args) while parsing Miniscript")
After some search -> I found that this error is comming from
sortedmulti needs to be wrapped in a top-level descriptor type like wsh.
yeah , I previously was wrapping it with wsh -> but the function was returning the same value in Descriptor<DescriptorPublicKey>> type -> after taking off wsh function -> I noticed this error.
While parsing descriptor which uses
SortedMulti
function as shown ->I am getting this error->
After some search -> I found that this error is comming from
rust-miniscript/src/miniscript/astelem.rs
Line 317 in 9e1b3cd
sortedmulti_a
is not yet supported in miniscript?The text was updated successfully, but these errors were encountered: