Merge rust-bitcoin/rust-bitcoin#1376: Make Instruction Copy
80f6a4c6c5
Make Instruction Copy (Casey Rodarmor) Pull request description: Closes #1368. ACKs for top commit: Kixunil: ACK80f6a4c6c5
tcharding: ACK80f6a4c6c5
apoelstra: ACK80f6a4c6c5
Tree-SHA512: b9eb25edd524dbcc05d6285387c23b08f611dd3b42ccc7ad74607e3ebe83041259c21cdced533a64ff1060df6e7d08e5174b2a89a1dc19e154c5883824dd2971
This commit is contained in:
commit
5d23e8c962
|
@ -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]),
|
||||
|
|
Loading…
Reference in New Issue