Browse Source

skip empty transactions

main
ghost 4 months ago
parent
commit
0453bc2045
  1. 12
      src/index.php

12
src/index.php

@ -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']))

Loading…
Cancel
Save