diff options
Fetch token prices based on contract address
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r-- | ui/app/send-v2.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js index d0c28caa2..12cf55f62 100644 --- a/ui/app/send-v2.js +++ b/ui/app/send-v2.js @@ -89,14 +89,14 @@ SendTransactionScreen.prototype.updateSendTokenBalance = function (usersToken) { SendTransactionScreen.prototype.componentWillMount = function () { const { - updateTokenExchangeRate, + updateContractExchangeRate, selectedToken = {}, } = this.props - const { symbol } = selectedToken || {} + const { address } = selectedToken || {} - if (symbol) { - updateTokenExchangeRate(symbol) + if (address) { + updateContractExchangeRate(address) } this.updateGas() |