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
Copy file name to clipboardExpand all lines: src/lib.rs
+4
Original file line number
Diff line number
Diff line change
@@ -558,6 +558,8 @@ pub enum Error {
558
558
/// At least two BIP389 key expressions in the descriptor contain tuples of
559
559
/// derivation indexes of different lengths.
560
560
MultipathDescLenMismatch,
561
+
/// Cannot get assets for this large descriptor. Exceeds 1000 assets.
562
+
MaxAssetThresholdExceeded,
561
563
}
562
564
563
565
// https://github.com/sipa/miniscript/pull/5 for discussion on this number
@@ -634,6 +636,7 @@ impl fmt::Display for Error {
634
636
Error::TrNoScriptCode => write!(f,"No script code for Tr descriptors"),
635
637
Error::TrNoExplicitScript => write!(f,"No script code for Tr descriptors"),
636
638
Error::MultipathDescLenMismatch => write!(f,"At least two BIP389 key expressions in the descriptor contain tuples of derivation indexes of different lengths"),
639
+
Error::MaxAssetThresholdExceeded => write!(f,"Cannot plan descriptors having more than 1000 possible spend paths."),
0 commit comments