Skip to content

Commit

Permalink
fixed "Cannot read property 'minersHashrate'"
Browse files Browse the repository at this point in the history
  • Loading branch information
furiousteam authored Dec 4, 2018
1 parent 1786e06 commit 5c4250c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function getNetworkDifficulty(callback) {
}

function getUsersHashrates(callback) {
apiInterfaces.pool('/miners_hashrate', function(error, data) {
apiInterfaces.pool('/miners_hashrate?password=' + config.api.password, function(error, data) {
callback(data.minersHashrate);
});
}
Expand Down

0 comments on commit 5c4250c

Please sign in to comment.