diff --git a/bitcoin/src/blockdata/script.rs b/bitcoin/src/blockdata/script.rs index 7f836f53..473d70b6 100644 --- a/bitcoin/src/blockdata/script.rs +++ b/bitcoin/src/blockdata/script.rs @@ -831,7 +831,7 @@ impl From<&Script> for WScriptHash { } /// 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> { /// Push a bunch of data. PushBytes(&'a [u8]),