Skip to content

Commit 2d98d17

Browse files
committed
Don't use catchall match in is_segwit
1 parent d9c5c99 commit 2d98d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/descriptor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ impl DescriptorType {
267267
use self::DescriptorType::*;
268268
match self {
269269
Wpkh | ShWpkh | Wsh | ShWsh | ShWshSortedMulti | WshSortedMulti | Tr => true,
270-
_ => false,
270+
Bare | Sh | Pkh | ShSortedMulti => false,
271271
}
272272
}
273273
}

0 commit comments

Comments
 (0)