Merge rust-bitcoin/rust-bitcoin#868: Use correct opcode count

aaf587d320 Use correct opcode count (Tobin Harding)

Pull request description:

  Code comment contains an off-by-one error, update it to the correct value '61'.

  Fixes: #866

ACKs for top commit:
  apoelstra:
    utACK aaf587d320
  Kixunil:
    ACK aaf587d320

Tree-SHA512: 0306f1bbad904c1bfb26ce69758114dd94ee748c8733094fe94b1e1072be84a823a906ecc2046c30aa23c04e762199418bfeab3b63f3dc0c25e2c582813edbb4
This commit is contained in:
Andrew Poelstra 2022-03-10 19:08:52 +00:00
commit e8cd3a0ec1
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -830,7 +830,7 @@ macro_rules! ordinary_opcode {
); );
} }
// "Ordinary" opcodes -- should be 60 of these // "Ordinary" opcodes -- should be 61 of these
ordinary_opcode! { ordinary_opcode! {
// pushdata // pushdata
OP_PUSHDATA1, OP_PUSHDATA2, OP_PUSHDATA4, OP_PUSHDATA1, OP_PUSHDATA2, OP_PUSHDATA4,