Skip to content

Commit

Permalink
update value
Browse files Browse the repository at this point in the history
  • Loading branch information
BlocksScanIO committed Jan 7, 2023
1 parent c010e41 commit 23b9db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/controllers/token-rates.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class TokenRatesController {
*/
async updateExchangeRates () {
const contractExchangeRates = {}
const nativeCurrency = this.currency ? this.currency.state.nativeCurrency.toLowerCase() : 'xdc'
const nativeCurrency = this.currency ? this.currency.state.nativeCurrency.toLowerCase() : 'usd'
const pairs = this._tokens.map((token) => this.convert(token.address, 'xdc')).join(',')
const query = `contract_addresses=${pairs}&vs_currencies=${nativeCurrency}`
if (this._tokens.length > 0) {
Expand Down

0 comments on commit 23b9db9

Please sign in to comment.