Skip to content

Commit

Permalink
types: remove all Result returns for ExtData
Browse files Browse the repository at this point in the history
This arguably belongs in the previous commit but it's invasive and
entirely mechanical so I'm putting it in its own commit.
  • Loading branch information
apoelstra committed Mar 6, 2024
1 parent b6c3ca8 commit 602fd29
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 91 deletions.
2 changes: 1 addition & 1 deletion src/miniscript/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ mod tests {
phantom: PhantomData,
})),
ty: Type::cast_check(Type::from_pk_h::<Segwitv0>()).unwrap(),
ext: ExtData::cast_check(ExtData::pk_h::<Segwitv0>()).unwrap(),
ext: ExtData::cast_check(ExtData::pk_h::<Segwitv0>()),
phantom: PhantomData,
};

Expand Down
Loading

0 comments on commit 602fd29

Please sign in to comment.