Update proportional_payout.php

Abort if no shares could be found for a block to allow user intervention to fix it.
This commit is contained in:
Sebastian Grewe 2013-07-08 07:22:05 +02:00
parent 6193604598
commit 5e98496cec

View File

@ -54,7 +54,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
if (empty($aAccountShares)) {
$log->logFatal('No shares found for this block, aborted: ' . $aBlock['height']);
sleep(2);
continue;
exit(1);
}
// Loop through all accounts that have found shares for this round