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 460400d commit aa722c2Copy full SHA for aa722c2
src/miniscript/lex.rs
@@ -138,10 +138,10 @@ pub fn lex(script: &'_ script::Script) -> Result<Vec<Token<'_>>, Error> {
138
ret.push(Token::CheckMultiSig);
139
ret.push(Token::Verify);
140
}
141
- script::Instruction::Op(op) if op == opcodes::all::OP_CSV => {
+ script::Instruction::Op(opcodes::all::OP_CSV) => {
142
ret.push(Token::CheckSequenceVerify);
143
144
- script::Instruction::Op(op) if op == opcodes::all::OP_CLTV => {
+ script::Instruction::Op(opcodes::all::OP_CLTV) => {
145
ret.push(Token::CheckLockTimeVerify);
146
147
script::Instruction::Op(opcodes::all::OP_FROMALTSTACK) => {
0 commit comments