aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.ts b/src/wallet.ts
index 50febf946..b47f22382 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -1315,7 +1315,7 @@ export class Wallet {
function collectPendingRefresh(r: RefreshSessionRecord,
balance: WalletBalance) {
- if (!r.finished) {
+ if (r.finished) {
return balance;
}
let entry = ensureEntry(balance, r.valueWithFee.currency);