From 0453bc2045d8a3b2bb5fa61e583333c322b7c7b2 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 4 Mar 2024 11:54:54 +0200 Subject: [PATCH] skip empty transactions --- src/index.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/index.php b/src/index.php index be583e1..0c29bbe 100644 --- a/src/index.php +++ b/src/index.php @@ -212,17 +212,7 @@ for ($block = $state + 1; $block <= $blocks; $block++) // Validate each transaction if (!$raw = $kevacoin->getRawTransaction($transaction)) { - var_dump( - $kevacoin->getError() - ); - - exit( - sprintf( - _('Could not receive raw transaction "%s" in block "%d"!'), - $transaction, - $block - ) - ); + continue; } if (empty($raw['txid']))