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

Loading…
Cancel
Save