commit 5e77b222d50aa3b2a54e5128d2e9ffb0294e5002
parent 2b7fff323d91d96e89ce822273b80385ca03bc9c
Author: Florian Dold <florian.dold@gmail.com>
Date: Sun, 19 Jan 2020 20:02:15 +0100
don't refresh for a refund that didn't get applied
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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)) {