Skip to content

Commit

Permalink
rename opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
biryukovmaxim committed Nov 9, 2024
1 parent 523ee9a commit a5c6077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/txscript/src/opcodes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ opcode_list! {
}
}
opcode OpOutpointTxId<0xba, 1>(self, vm) Err(TxScriptError::OpcodeReserved(format!("{self:?}")))
opcode OpOutpointOutputIdx<0xbb, 1>(self, vm) Err(TxScriptError::OpcodeReserved(format!("{self:?}")))
opcode OpOutpointIndex<0xbb, 1>(self, vm) Err(TxScriptError::OpcodeReserved(format!("{self:?}")))
opcode OpTxInputScriptSig<0xbc, 1>(self, vm) Err(TxScriptError::OpcodeReserved(format!("{self:?}")))
opcode OpTxInputSeq<0xbd, 1>(self, vm) Err(TxScriptError::OpcodeReserved(format!("{self:?}")))
// UTXO related opcodes (following UtxoEntry struct field order)
Expand Down Expand Up @@ -1171,7 +1171,7 @@ mod test {
opcodes::OpTxGas::empty().expect("Should accept empty"),
opcodes::OpTxPayload::empty().expect("Should accept empty"),
opcodes::OpOutpointTxId::empty().expect("Should accept empty"),
opcodes::OpOutpointOutputIdx::empty().expect("Should accept empty"),
opcodes::OpOutpointIndex::empty().expect("Should accept empty"),
opcodes::OpTxInputScriptSig::empty().expect("Should accept empty"),
opcodes::OpTxInputSeq::empty().expect("Should accept empty"),
opcodes::OpTxInputBlockDaaScore::empty().expect("Should accept empty"),
Expand Down

0 comments on commit a5c6077

Please sign in to comment.