We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ee2b6 commit d78768fCopy full SHA for d78768f
src/selector.rs
@@ -279,13 +279,19 @@ pub enum SelectorError {
279
Miniscript(miniscript::Error),
280
/// meeting the target is not possible
281
CannotMeetTarget(CannotMeetTarget),
282
+ /// missing weight to satisfy change output
283
+ MissingChangeSatisfactionWeight,
284
}
285
286
impl fmt::Display for SelectorError {
287
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
288
match self {
289
Self::Miniscript(err) => write!(f, "{err}"),
290
Self::CannotMeetTarget(err) => write!(f, "{err}"),
291
+ Self::MissingChangeSatisfactionWeight => write!(
292
+ f,
293
+ "Cannot determinate change policy without satisfaction weight"
294
+ ),
295
296
297
0 commit comments