mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-01-08 22:27:56 +00:00
skip invalid vout
This commit is contained in:
parent
4ee1929009
commit
7cfe70ca3d
@ -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…
Reference in New Issue
Block a user