aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wallet.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet.ts b/src/wallet.ts
index b47f22382..f88b8efae 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -1315,6 +1315,8 @@ export class Wallet {
function collectPendingRefresh(r: RefreshSessionRecord,
balance: WalletBalance) {
+ // Don't count finished refreshes, since the refresh already resulted
+ // in coins being added to the wallet.
if (r.finished) {
return balance;
}