Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d33730c274
|
@ -67,7 +67,7 @@ module.exports = function(logger, poolConfig){
|
||||||
isValidBlock ? 'Y' : 'N',
|
isValidBlock ? 'Y' : 'N',
|
||||||
shareData.difficulty,
|
shareData.difficulty,
|
||||||
typeof(shareData.error) === 'undefined' ? null : shareData.error,
|
typeof(shareData.error) === 'undefined' ? null : shareData.error,
|
||||||
typeof(shareData.solution) === 'undefined' ? null : shareData.solution
|
typeof(shareData.solution) === 'undefined' ? '' : shareData.solution
|
||||||
];
|
];
|
||||||
connection.query(
|
connection.query(
|
||||||
'INSERT INTO `shares` SET time = NOW(), rem_host = ?, username = ?, our_result = ?, upstream_result = ?, difficulty = ?, reason = ?, solution = ?',
|
'INSERT INTO `shares` SET time = NOW(), rem_host = ?, username = ?, our_result = ?, upstream_result = ?, difficulty = ?, reason = ?, solution = ?',
|
||||||
|
|
Loading…
Reference in New Issue