1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Did not previously call functions before!

This commit is contained in:
Kevin Serrano 2016-08-09 16:49:15 -07:00
parent 637d3978b7
commit cb0c1f25ba
2 changed files with 6 additions and 3 deletions

View File

@ -252,9 +252,9 @@ module.exports = class MetamaskController {
this.configManager.updateConversionRate()
this.scheduleConversionInterval()
const data = {
conversionRate: this.configManager.getConversionRate,
currentFiat: this.configManager.getCurrentFiat,
conversionDate: this.configManager.getConversionDate,
conversionRate: this.configManager.getConversionRate(),
currentFiat: this.configManager.getCurrentFiat(),
conversionDate: this.configManager.getConversionDate(),
}
cb(data)
} catch (e) {

View File

@ -223,6 +223,9 @@ function setCurrentFiat (fiat) {
dispatch(this.showLoadingIndication())
_accountManager.setCurrentFiat(fiat, (data, err) => {
dispatch(this.hideLoadingIndication())
console.log("NEW THINGS")
console.log("==========")
console.log(data.currentFiat, data.conversionRate, data.conversionDate)
dispatch({
type: this.SET_CURRENT_FIAT,
value: {