mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-09-02 18:11:52 +00:00
add OP_RETURN support
This commit is contained in:
parent
271be38739
commit
85285b6207
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user