Browse Source

skip transactions with empty operator

main
ghost 4 months ago
parent
commit
4ee1929009
  1. 10
      src/index.php

10
src/index.php

@ -269,16 +269,10 @@ for ($block = $state; $block <= $blocks; $block++) @@ -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

Loading…
Cancel
Save