diff options
-rw-r--r-- | app/scripts/metamask-controller.js | 6 | ||||
-rw-r--r-- | ui/app/actions.js | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 1550f0937..b5052e438 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -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) { diff --git a/ui/app/actions.js b/ui/app/actions.js index 14cbeac42..17171e8e2 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -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: { |