forknote / forknote-pool

Mining pool for Bytecoin/Forknote based coins such as Bytecoin and Dashcoin.
https://github.com/forknote/forknote-pool
GNU General Public License v2.0
122 stars 185 forks source link

chartsDataCollector died, spawning replacement #21

Open xiego opened 7 years ago

xiego commented 7 years ago
TypeError: Cannot read property 'minersHashrate' of undefined
    at /home/****/forknote-pool/lib/charts.js:166:22
    at IncomingMessage.<anonymous> (/home/ubuntu/forknote-pool/lib/apiInterfaces.js:31:17)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Seems like a noncritical error. This appears to the be code in question.

function getUsersHashrates(callback) {
    apiInterfaces.pool('/miners_hashrate', function(error, data) {
        callback(data.minersHashrate);
    });
dinho-afsn commented 7 years ago

I same problem

Driez commented 6 years ago

ist all because this pool is old badly programmed bullshit, like everything thats avalable it the cryptocurrency business! so just surrender or build your own thing!

zhiapp-com commented 6 years ago

i same problem