aboutsummaryrefslogtreecommitdiff
path: root/src/wallet-impl/balance.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-06 00:24:34 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-06 00:24:34 +0100
commit65bccbd139c53a2baccec442a680373125488102 (patch)
tree216860ec3523af33091b8fb52193787034c667f8 /src/wallet-impl/balance.ts
parent7b54439fd62bd2a5e15b3068a8fbaffeb0a57468 (diff)
downloadwallet-core-65bccbd139c53a2baccec442a680373125488102.tar.xz
separate operations for pay, refund status query and refund submission
Diffstat (limited to 'src/wallet-impl/balance.ts')
-rw-r--r--src/wallet-impl/balance.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet-impl/balance.ts b/src/wallet-impl/balance.ts
index a1351014c..082e62563 100644
--- a/src/wallet-impl/balance.ts
+++ b/src/wallet-impl/balance.ts
@@ -138,7 +138,7 @@ export async function getBalances(
});
await tx.iter(Stores.purchases).forEach(t => {
- if (t.finished) {
+ if (t.payFinished) {
return;
}
for (const c of t.payReq.coins) {