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.
2 parents af410f6 + ebeb008 commit f55d41dCopy full SHA for f55d41d
src/descriptor/mod.rs
@@ -148,7 +148,7 @@ impl FromStr for DescriptorType {
148
Ok(DescriptorType::WshSortedMulti)
149
} else if s.len() >= 3 && &s[0..3] == "wsh" {
150
Ok(DescriptorType::Wsh)
151
- } else if s.len() >= 6 && &s[0..6] == "covwsh" {
+ } else if s.len() >= 8 && &s[0..8] == "elcovwsh" {
152
Ok(DescriptorType::Cov)
153
} else {
154
Ok(DescriptorType::Bare)
0 commit comments