Browse Source

skip invalid vout

main
ghost 10 months ago
parent
commit
7cfe70ca3d
  1. 16
      src/index.php

16
src/index.php

@ -282,13 +282,7 @@ for ($block = $state; $block <= $blocks; $block++) @@ -282,13 +282,7 @@ for ($block = $state; $block <= $blocks; $block++)
if (empty($asm[1]) || empty($asm[2]) || empty($asm[3]))
{
exit(
sprintf(
_('Undefined namespace or key or value of transaction "%s" in block "%d"!'),
$transaction,
$block
)
);
continue 2;
}
$namespace = \Kvazar\Crypto\Base58::encode(
@ -309,13 +303,7 @@ for ($block = $state; $block <= $blocks; $block++) @@ -309,13 +303,7 @@ for ($block = $state; $block <= $blocks; $block++)
if (empty($asm[1]) || empty($asm[2]))
{
exit(
sprintf(
_('Undefined namespace or value of transaction "%s" in block "%d"!'),
$transaction,
$block
)
);
continue 2;
}
$namespace = \Kvazar\Crypto\Base58::encode(

Loading…
Cancel
Save