Skip to content

Commit c1b516c

Browse files
committed
Fix interpreter inference bug
I had caught this initially and used the correct version for the miniscript workshop at advacing bitcoin, but forgot to fix it in the correct place.
1 parent fbb393e commit c1b516c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interpreter/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl<'txin> Interpreter<'txin> {
385385
inner::Inner::Script(_, inner::ScriptType::Sh) => true,
386386
inner::Inner::Script(_, inner::ScriptType::Wsh) => false,
387387
inner::Inner::Script(_, inner::ScriptType::ShWsh) => false, // lol "sorta"
388-
inner::Inner::Script(_, inner::ScriptType::Tr) => true,
388+
inner::Inner::Script(_, inner::ScriptType::Tr) => false,
389389
}
390390
}
391391

0 commit comments

Comments
 (0)