From 4ee192900918494c3b6df8598a789b085ce582e2 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 13 Feb 2024 03:17:43 +0200 Subject: [PATCH] skip transactions with empty operator --- src/index.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/index.php b/src/index.php index bcd567c..902fea3 100644 --- a/src/index.php +++ b/src/index.php @@ -269,16 +269,10 @@ for ($block = $state; $block <= $blocks; $block++) $vout['scriptPubKey']['asm'] ); - // Get operation ID required to continue + // Operation ID required to continue if (empty($asm[0])) { - exit( - sprintf( - _('Undefined operation of transaction "%s" in block "%d"!'), - $transaction, - $block - ) - ); + continue; } // Detect key / value