From 85285b62074d3d81035b873015311c91d5072dd1 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 12 Feb 2024 21:32:50 +0200 Subject: [PATCH] add OP_RETURN support --- src/Manticore.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Manticore.php b/src/Manticore.php index ddb35e5..f4d7246 100644 --- a/src/Manticore.php +++ b/src/Manticore.php @@ -16,7 +16,8 @@ class Manticore private const OP_KEVA_PUT = 2; private const OP_KEVA_DELETE = 3; private const OP_HASH160 = 4; - private const OP_NOP = 5; + private const OP_RETURN = 5; + private const OP_NOP = 6; public function __construct( ?string $name = 'kvazar', @@ -166,6 +167,9 @@ class Manticore case 'OP_HASH160': return self::OP_HASH160; + case 'OP_RETURN': + return self::OP_RETURN; + case 'OP_NOP': return self::OP_NOP;