skip invalid vout

This commit is contained in:
ghost 2024-02-13 03:50:56 +02:00
parent 4ee1929009
commit 7cfe70ca3d

View File

@ -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(