mirror of https://github.com/BTCPrivate/z-nomp.git
Include actual share diff in log ouput
This commit is contained in:
parent
e5d25cf11c
commit
57be035ff2
|
@ -180,7 +180,7 @@ module.exports = function(logger){
|
|||
logger.debug(logSystem, logComponent, logSubCat, 'Block found: ' + data.blockHash);
|
||||
|
||||
if (isValidShare)
|
||||
logger.debug(logSystem, logComponent, logSubCat, 'Share accepted at diff ' + data.difficulty + ' by ' + data.worker + ' [' + data.ip + ']' );
|
||||
logger.debug(logSystem, logComponent, logSubCat, 'Share accepted at diff ' + data.difficulty + '/' + data.shareDiff + ' by ' + data.worker + ' [' + data.ip + ']' );
|
||||
|
||||
else if (!isValidShare)
|
||||
logger.debug(logSystem, logComponent, logSubCat, 'Share rejected: ' + shareData);
|
||||
|
|
Loading…
Reference in New Issue