aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet.ts b/src/wallet.ts
index 5b24f7939..ec7eade9c 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -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();
}