aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-03-10 15:27:36 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-03-10 15:27:36 +0100
commit28e3e4640f8ec31bfbc6667d70dcb94961fcca93 (patch)
tree989cb79c8529e2a65cb8e6f9af4712c8e5549410 /src
parent007df45ef9186c6f2c1a4fdb552faaec01857bf8 (diff)
downloadwallet-core-28e3e4640f8ec31bfbc6667d70dcb94961fcca93.tar.xz
comment
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;
}