remove unnecessary/broken flatmap
This commit is contained in:
parent
73bcf22ebf
commit
8c215a19d7
142
node_modules/nyc/node_modules/yargs/package.json
generated
vendored
142
node_modules/nyc/node_modules/yargs/package.json
generated
vendored
File diff suppressed because one or more lines are too long
@ -2124,14 +2124,12 @@ export class Wallet {
|
||||
async getExchanges(): Promise<ExchangeRecord[]> {
|
||||
return this.q()
|
||||
.iter<ExchangeRecord>(Stores.exchanges)
|
||||
.flatMap((e) => [e])
|
||||
.toArray();
|
||||
}
|
||||
|
||||
async getCurrencies(): Promise<CurrencyRecord[]> {
|
||||
return this.q()
|
||||
.iter<CurrencyRecord>(Stores.currencies)
|
||||
.flatMap((e) => [e])
|
||||
.toArray();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user