From 28e3e4640f8ec31bfbc6667d70dcb94961fcca93 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 10 Mar 2017 15:27:36 +0100 Subject: comment --- src/wallet.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3