skip empty transactions

This commit is contained in:
ghost 2024-03-04 11:54:54 +02:00
parent 716979a45f
commit 0453bc2045

View File

@ -212,17 +212,7 @@ for ($block = $state + 1; $block <= $blocks; $block++)
// Validate each transaction // Validate each transaction
if (!$raw = $kevacoin->getRawTransaction($transaction)) if (!$raw = $kevacoin->getRawTransaction($transaction))
{ {
var_dump( continue;
$kevacoin->getError()
);
exit(
sprintf(
_('Could not receive raw transaction "%s" in block "%d"!'),
$transaction,
$block
)
);
} }
if (empty($raw['txid'])) if (empty($raw['txid']))