aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-07-21 23:50:10 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-07-21 23:50:10 +0200
commit16ecbc9f177f1f71048840edf9b7af20ace3aad8 (patch)
tree3d6a1a164b9744cf6cfcdbdff44df5a15a304f10 /src/wallet.ts
parentcfa1df734315efc8e24a1a846e4d694abe2249ea (diff)
downloadwallet-core-16ecbc9f177f1f71048840edf9b7af20ace3aad8.tar.xz
headless wallet skeleton, type fixes
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts4
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,