diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-07-21 23:50:10 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-07-21 23:50:10 +0200 |
commit | 16ecbc9f177f1f71048840edf9b7af20ace3aad8 (patch) | |
tree | 3d6a1a164b9744cf6cfcdbdff44df5a15a304f10 /src/wallet.ts | |
parent | cfa1df734315efc8e24a1a846e4d694abe2249ea (diff) | |
download | wallet-core-16ecbc9f177f1f71048840edf9b7af20ace3aad8.tar.xz |
headless wallet skeleton, type fixes
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 0dfb77554..fd7887a85 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -2727,14 +2727,14 @@ export class Wallet { exchangeWireTypes[e] = Array.from(m[e]); }); - const senderWiresSet = new Set(); + const senderWiresSet: Set<string> = new Set(); await this.q() .iter(Stores.senderWires) .map(x => { senderWiresSet.add(x.paytoUri); }) .run(); - const senderWires = Array.from(senderWiresSet); + const senderWires: string[] = Array.from(senderWiresSet); return { exchangeWireTypes, |