summaryrefslogtreecommitdiff
path: root/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-19 20:02:15 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-19 20:02:15 +0100
commit5e77b222d50aa3b2a54e5128d2e9ffb0294e5002 (patch)
tree428b643d04c9163d7855f90103be07abaee2eff3 /src/operations/refund.ts
parent2b7fff323d91d96e89ce822273b80385ca03bc9c (diff)
downloadwallet-core-5e77b222d50aa3b2a54e5128d2e9ffb0294e5002.tar.gz
wallet-core-5e77b222d50aa3b2a54e5128d2e9ffb0294e5002.tar.bz2
wallet-core-5e77b222d50aa3b2a54e5128d2e9ffb0294e5002.zip
don't refresh for a refund that didn't get applied
Diffstat (limited to 'src/operations/refund.ts')
-rw-r--r--src/operations/refund.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/operations/refund.ts b/src/operations/refund.ts
index 7e6803685..92e9204d2 100644
--- a/src/operations/refund.ts
+++ b/src/operations/refund.ts
@@ -481,7 +481,6 @@ async function processPurchaseApplyRefundImpl(
groups[r.refundGroupId] = true;
delete p.refundState.refundsPending[pk];
p.refundState.refundsFailed[pk] = r;
- await modCoin(r.perm);
}
for (const pk of Object.keys(newRefundsDone)) {