[FIX] Wrong argument count
This commit is contained in:
parent
ee805b65ce
commit
1d5acb48b2
@ -48,7 +48,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
|||||||
$log->logError(" Block became orphaned but unable to update database entries");
|
$log->logError(" Block became orphaned but unable to update database entries");
|
||||||
}
|
}
|
||||||
if (!$header) {
|
if (!$header) {
|
||||||
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New'));
|
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New', 'Status'));
|
||||||
$header = true;
|
$header = true;
|
||||||
}
|
}
|
||||||
$log->logInfo(sprintf($strLogMask, $aBlock['id'], $aBlock['height'], $aBlock['blockhash'], $aBlock['confirmations'], $aBlockInfo['confirmations'], $status));
|
$log->logInfo(sprintf($strLogMask, $aBlock['id'], $aBlock['height'], $aBlock['blockhash'], $aBlock['confirmations'], $aBlockInfo['confirmations'], $status));
|
||||||
@ -64,7 +64,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
|||||||
$status = 'UPDATED';
|
$status = 'UPDATED';
|
||||||
}
|
}
|
||||||
if (!$header) {
|
if (!$header) {
|
||||||
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New'));
|
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New', 'Status'));
|
||||||
$header = true;
|
$header = true;
|
||||||
}
|
}
|
||||||
$log->logInfo(sprintf($strLogMask, $aBlock['id'], $aBlock['height'], $aBlock['blockhash'], $aBlock['confirmations'], $aBlockInfo['confirmations'], $status));
|
$log->logInfo(sprintf($strLogMask, $aBlock['id'], $aBlock['height'], $aBlock['blockhash'], $aBlock['confirmations'], $aBlockInfo['confirmations'], $status));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user