diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-06-03 21:00:15 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-06-03 21:00:15 +0200 |
commit | 8c215a19d7fb92b3972d0dc299cfcb56a79f0319 (patch) | |
tree | cfbddf67b0e65e217afab7d4b15cbf8149a71a78 /src | |
parent | 73bcf22ebf39078e9998d191780ba8cabedb893c (diff) | |
download | wallet-core-8c215a19d7fb92b3972d0dc299cfcb56a79f0319.tar.xz |
remove unnecessary/broken flatmap
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet.ts | 2 |
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(); } |