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 79f3109 commit 6ed3bbbCopy full SHA for 6ed3bbb
src/descriptor/pegin/legacy_pegin.rs
@@ -144,10 +144,7 @@ impl<Pk: MiniscriptKey> LegacyPegin<Pk> {
144
let fed_ms = BtcMiniscript::from_ast(BtcTerminal::Multi(fed.clone()))
145
.expect("Multi type check can't fail");
146
let csv = BtcMiniscript::from_ast(BtcTerminal::Verify(Arc::new(
147
- BtcMiniscript::from_ast(BtcTerminal::Older(
148
- bitcoin_miniscript::RelLockTime::try_from(timelock).expect("TODO"),
149
- ))
150
- .unwrap(),
+ BtcMiniscript::from_ast(BtcTerminal::Older(timelock)).unwrap(),
151
)))
152
.unwrap();
153
let emer_ms = BtcMiniscript::from_ast(BtcTerminal::Multi(emer.clone()))
0 commit comments