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

TypeError: blocks.map is not function #369

Open toints opened 2 years ago

toints commented 2 years ago

When I killed the pool server and restart it, occured this error:

TypeError: blocks.map is not a function at cryptonote-nodejs-pool/lib/blockUnlocker.js:120:31 at nextTask (cryptonote-nodejs-pool/node_modules/async/dist/async.js:5756:27) at next (cryptonote-nodejs-pool/node_modules/async/dist/async.js:5764:13) at cryptonote-nodejs-pool/node_modules/async/dist/async.js:324:20 at cryptonote-nodejs-pool/lib/blockUnlocker.js:113:5 at err (cryptonote-nodejs-pool/node_modules/async/dist/async.js:2926:29) at wrapper (cryptonote-nodejs-pool/node_modules/async/dist/async.js:271:20) at iteratorCallback (cryptonote-nodejs-pool/node_modules/async/dist/async.js:496:17) at cryptonote-nodejs-pool/node_modules/async/dist/async.js:324:20 at iteratee (cryptonote-nodejs-pool/node_modules/async/dist/async.js:2923:17) at cryptonote-nodejs-pool/lib/blockUnlocker.js:104:6 at cryptonote-nodejs-pool/lib/apiInterfaces.js:66:3 at IncomingMessage. (cryptonote-nodejs-pool/lib/apiInterfaces.js:41:5) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19)