Browse Source

Merge branch 'fix_init_tracker' into 'develop'

fix tracker initialization

See merge request dojo/samourai-dojo!237
umbrel
Pavel Ševčík 3 years ago
parent
commit
5506e79be0
  1. 6
      tracker/blocks-processor.js

6
tracker/blocks-processor.js

@ -32,10 +32,10 @@ module.exports.nbWorkers = nbWorkers
/**
* Initialize the processor
* @param {object} notifSock - ZMQ socket used for notifications
* @param {object} aNotifSock - ZMQ socket used for notifications
*/
function init(notifSock) {
notifSock = notifSock
function init(aNotifSock) {
notifSock = aNotifSock
for (let i = 0; i < nbWorkers; i++) {
const worker = new Worker(

Loading…
Cancel
Save