zone117x / node-cryptonote-pool

Mining pool for CryptoNote based coins such as Bytecoin and Monero
GNU General Public License v2.0
823 stars 1.14k forks source link

Error: Argument 2 should be a boolean #332

Open KhanhDinhDuy opened 6 years ago

KhanhDinhDuy commented 6 years ago

Dear all, Please help me with this error on the pool site: Error: Argument 2 should be a boolean at Error (native) at processShare (/home/khanhdinh/pool/lib/pool.js:442:16) at handleMinerMethod (/home/khanhdinh/pool/lib/pool.js:577:33) at handleMessage (/home/khanhdinh/pool/lib/pool.js:650:13) at Socket. (/home/khanhdinh/pool/lib/pool.js:704:25) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at readableAddChunk (_stream_readable.js:146:16) at Socket.Readable.push (_stream_readable.js:110:10) at TCP.onread (net.js:523:20)

Here is my package.json file:

GNU nano 2.5.3 File: package.json

{ "name": "cryptonote-pool", "version": "0.0.1", "license": "GPL-2.0", "author": "Matthew Little", "repository": { "type": "git", "url": "https://github.com/zone117x/node-cryptonote-pool.git" }, "dependencies": { "bignum": "0.12.5", "async": "1.5.2", "redis": "0.12.1", "cli-color": "1.1.0", "dateformat": "1.0.12", "base58-native": "0.1.4", "multi-hashing": "git://github.com/clintar/node-multi-hashing.git#Nan-2.0", "cryptonote-util": "git://github.com/Snipa22/node-cryptonote-util#xmr-Nan-2.0" }, "engines": { "node": ">=0.10" } }

Thank you in advance. Khanh