mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-01-22 04:45:13 +00:00
add OP_DUP support
This commit is contained in:
parent
85285b6207
commit
7da0ac4a5e
@ -17,7 +17,8 @@ class Manticore
|
||||
private const OP_KEVA_DELETE = 3;
|
||||
private const OP_HASH160 = 4;
|
||||
private const OP_RETURN = 5;
|
||||
private const OP_NOP = 6;
|
||||
private const OP_DUP = 6;
|
||||
private const OP_NOP = 7;
|
||||
|
||||
public function __construct(
|
||||
?string $name = 'kvazar',
|
||||
@ -170,6 +171,9 @@ class Manticore
|
||||
case 'OP_RETURN':
|
||||
return self::OP_RETURN;
|
||||
|
||||
case 'OP_DUP':
|
||||
return self::OP_DUP;
|
||||
|
||||
case 'OP_NOP':
|
||||
return self::OP_NOP;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user