Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Merge pull request #649 from NebulousLabs/conversionrate-round
Browse files Browse the repository at this point in the history
Host plugin: round conversion rate in initial settings pull
  • Loading branch information
lukechampine authored Jul 3, 2017
2 parents 084b201 + b2b0c76 commit 6629b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Hosting/js/sagas/saga.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function *requestDefaultSettingsSaga() {
url: '/host/estimatescore',
method: 'GET',
})
yield put(actions.setEstimatedScore(res.estimatedscore, res.conversionrate))
yield put(actions.setEstimatedScore(res.estimatedscore, new BigNumber(res.conversionrate).round(2).toString()))
} catch (e) {
console.error('error fetching defaults: ' + e.toString())
}
Expand Down

0 comments on commit 6629b14

Please sign in to comment.