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
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -374,6 +374,9 @@ pub enum Error {
374
374
/// derivation indexes of different lengths.
375
375
MultipathDescLenMismatch,
376
376
377
+
/// The federation descriptor has a type not supported
378
+
UnsupportedAddressForPegin,
379
+
377
380
/// Conversion error in descriptor
378
381
Conversion(descriptor::ConversionError),
379
382
}
@@ -540,6 +543,7 @@ impl fmt::Display for Error {
540
543
Error::TrNoExplicitScript => write!(f,"No script code for Tr descriptors"),
541
544
Error::MultipathDescLenMismatch => write!(f,"At least two BIP389 key expressions in the descriptor contain tuples of derivation indexes of different lengths"),
542
545
Error::Conversion(ref e) => e.fmt(f),
546
+
Error::UnsupportedAddressForPegin => write!(f,"Cannot create the address from the pegin descriptor, the federation descriptor is of an unsuppported type"),
0 commit comments