From aaf587d3206d8af21995ee7f83cd8da888eb2442 Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Thu, 10 Mar 2022 06:42:09 +1100 Subject: [PATCH] Use correct opcode count Code comment contains an off-by-one error, update it to the correct value '61'. --- src/blockdata/opcodes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockdata/opcodes.rs b/src/blockdata/opcodes.rs index 8d5e767c..06d36446 100644 --- a/src/blockdata/opcodes.rs +++ b/src/blockdata/opcodes.rs @@ -830,7 +830,7 @@ macro_rules! ordinary_opcode { ); } -// "Ordinary" opcodes -- should be 60 of these +// "Ordinary" opcodes -- should be 61 of these ordinary_opcode! { // pushdata OP_PUSHDATA1, OP_PUSHDATA2, OP_PUSHDATA4,