1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

app - currency - fix typo

This commit is contained in:
kumavis 2018-04-03 10:35:41 -07:00
parent ecbab14cae
commit 79d63332ee

View File

@ -43,7 +43,7 @@ class CurrencyController {
this.store.updateState({ conversionDate })
}
await updateConversionRate () {
async updateConversionRate () {
try {
const currentCurrency = this.getCurrentCurrency()
const response = await fetch(`https://api.infura.io/v1/ticker/eth${currentCurrency.toLowerCase()}`)