Make Instruction Copy
This commit is contained in:
parent
f6d838076e
commit
80f6a4c6c5
|
@ -785,7 +785,7 @@ impl From<&Script> for WScriptHash {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A "parsed opcode" which allows iterating over a [`Script`] in a more sensible way.
|
/// A "parsed opcode" which allows iterating over a [`Script`] in a more sensible way.
|
||||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
|
||||||
pub enum Instruction<'a> {
|
pub enum Instruction<'a> {
|
||||||
/// Push a bunch of data.
|
/// Push a bunch of data.
|
||||||
PushBytes(&'a [u8]),
|
PushBytes(&'a [u8]),
|
||||||
|
|
Loading…
Reference in New Issue