From 7cfe70ca3dc33f76226882cc98e5cfb6340ab46c Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 13 Feb 2024 03:50:56 +0200 Subject: [PATCH] skip invalid vout --- src/index.php | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/index.php b/src/index.php index 902fea3..5040f9c 100644 --- a/src/index.php +++ b/src/index.php @@ -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++) 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(