remove crypto from fiat prices
This commit is contained in:
parent
994be2a109
commit
7bb465dc9e
1 changed files with 18 additions and 1 deletions
|
|
@ -1117,8 +1117,25 @@ async function waitForDb() {
|
|||
|
||||
}
|
||||
|
||||
delete fiatPrices.lastUpdated;
|
||||
const entitiesToExclude = [
|
||||
"lastUpdated",
|
||||
"btc",
|
||||
"eth",
|
||||
"ltc",
|
||||
"bch",
|
||||
"bnb",
|
||||
"eos",
|
||||
"xrp",
|
||||
"xlm",
|
||||
"link",
|
||||
"dot",
|
||||
"yfi",
|
||||
]
|
||||
|
||||
for (const entity of entitiesToExclude) {
|
||||
delete fiatPrices[entity];
|
||||
}
|
||||
|
||||
return fiatPrices;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue