Skip to content

Commit

Permalink
Merge pull request #8 from consensus-ai/development
Browse files Browse the repository at this point in the history
Hot fix condition.
  • Loading branch information
AlexanderBelonogov authored Jan 9, 2019
2 parents 2458c30 + 2557b94 commit 011f947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Miner/js/sagas/miner.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function* getPoolStatsHistorySaga(action) {
function* getCurrentHashRateSaga() {
try {
const data = yield getHashRate()
if (isNaN(parseInt(data.hashrate))) {
if (!isNaN(parseInt(data.hashrate))) {
hashrates.push(data.hashrate)
yield put(actions.setHashRate(data.hashrate))
}
Expand Down

0 comments on commit 011f947

Please sign in to comment.