From 8c215a19d7fb92b3972d0dc299cfcb56a79f0319 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 3 Jun 2017 21:00:15 +0200 Subject: remove unnecessary/broken flatmap --- src/wallet.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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 { return this.q() .iter(Stores.exchanges) - .flatMap((e) => [e]) .toArray(); } async getCurrencies(): Promise { return this.q() .iter(Stores.currencies) - .flatMap((e) => [e]) .toArray(); } -- cgit v1.2.3