skip transactions with empty operator

This commit is contained in:
ghost 2024-02-13 03:17:43 +02:00
parent eb0f76e185
commit 4ee1929009

View File

@ -269,16 +269,10 @@ for ($block = $state; $block <= $blocks; $block++)
$vout['scriptPubKey']['asm']
);
// Get operation ID required to continue
// Operation ID required to continue
if (empty($asm[0]))
{
exit(
sprintf(
_('Undefined operation of transaction "%s" in block "%d"!'),
$transaction,
$block
)
);
continue;
}
// Detect key / value