Browse Source

skip empty transactions

main
ghost 9 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++) @@ -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']))

Loading…
Cancel
Save