summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/common.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-04-24 20:24:23 +0200
committerFlorian Dold <florian@dold.me>2023-04-24 20:30:01 +0200
commite4407f825960554659af276d88eb54cc4e5fde9f (patch)
tree9ce7e6841254debd508e5489908ccac7518449f4 /packages/taler-wallet-core/src/operations/common.ts
parent974cd02066edc1a5b8279931d6b019f667051409 (diff)
downloadwallet-core-e4407f825960554659af276d88eb54cc4e5fde9f.tar.gz
wallet-core-e4407f825960554659af276d88eb54cc4e5fde9f.tar.bz2
wallet-core-e4407f825960554659af276d88eb54cc4e5fde9f.zip
-refunds for deposit aborts
Diffstat (limited to 'packages/taler-wallet-core/src/operations/common.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/common.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/common.ts b/packages/taler-wallet-core/src/operations/common.ts
index b3dc0804f..539632b02 100644
--- a/packages/taler-wallet-core/src/operations/common.ts
+++ b/packages/taler-wallet-core/src/operations/common.ts
@@ -190,7 +190,7 @@ export async function spendCoins(
tx,
Amounts.currencyOf(csi.contributions[0]),
refreshCoinPubs,
- RefreshReason.PayMerchant,
+ csi.refreshReason,
{
originatingTransactionId: csi.allocationId,
},
@@ -363,7 +363,7 @@ export enum TombstoneTag {
/**
* Create an event ID from the type and the primary key for the event.
- *
+ *
* @deprecated use constructTransactionIdentifier instead
*/
export function makeTransactionId(