From 5e77b222d50aa3b2a54e5128d2e9ffb0294e5002 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 19 Jan 2020 20:02:15 +0100 Subject: don't refresh for a refund that didn't get applied --- src/operations/refund.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/operations/refund.ts') 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)) { -- cgit v1.2.3