diff --git a/libs/mposCompatibility.js b/libs/mposCompatibility.js index 266e0cb..50d25bf 100644 --- a/libs/mposCompatibility.js +++ b/libs/mposCompatibility.js @@ -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 = ?',