From 6d413639322b67c0db8812c970bd6482a4baa5c8 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 12 Feb 2024 22:51:42 +0200 Subject: [PATCH] update transaction operators --- src/index.php | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/src/index.php b/src/index.php index 69934ce..b83455c 100644 --- a/src/index.php +++ b/src/index.php @@ -361,24 +361,11 @@ for ($block = $state; $block <= $blocks; $block++) break; - case 'OP_HASH160': // @TODO not in use at this moment - - /* - [0] => OP_HASH160 - [1] => d03b0c06f8db322a2365e41385f2c8f6f89eebe3 - [2] => OP_EQUAL - */ - - continue 2; - - break; - - case 'OP_RETURN': // @TODO not in use at this moment - - /* - [0] => OP_RETURN - [1] => aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9 - */ + // @TODO not in use at this moment + case 'OP_HASH160': + case 'OP_RETURN': + case 'OP_DUP': + case 'OP_NOP': continue 2;