Merge remote-tracking branch 'origin/master'

This commit is contained in:
Matt 2014-03-05 17:33:22 -07:00
commit d33730c274
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ module.exports = function(logger, poolConfig){
isValidBlock ? 'Y' : 'N',
shareData.difficulty,
typeof(shareData.error) === 'undefined' ? null : shareData.error,
typeof(shareData.solution) === 'undefined' ? null : shareData.solution
typeof(shareData.solution) === 'undefined' ? '' : shareData.solution
];
connection.query(
'INSERT INTO `shares` SET time = NOW(), rem_host = ?, username = ?, our_result = ?, upstream_result = ?, difficulty = ?, reason = ?, solution = ?',