mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-01-22 04:45:18 +00:00
skip empty transactions
This commit is contained in:
parent
716979a45f
commit
0453bc2045
@ -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…
x
Reference in New Issue
Block a user