summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pay.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-12 20:52:01 +0200
committerFlorian Dold <florian@dold.me>2022-09-12 20:52:01 +0200
commitb645d793df330d61c719e56acb96d7feebef4b21 (patch)
tree6fd4a80ae24b49711e29249cbb514e6b175854a3 /packages/taler-wallet-core/src/operations/pay.ts
parent58211515d2de641db16ffba119d31a09ef9df08e (diff)
downloadwallet-core-b645d793df330d61c719e56acb96d7feebef4b21.tar.gz
wallet-core-b645d793df330d61c719e56acb96d7feebef4b21.tar.bz2
wallet-core-b645d793df330d61c719e56acb96d7feebef4b21.zip
wallet-core: fix creation of refresh session after peer-{push,pull}
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pay.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts
index 8193bf86a..3d4d2b5a0 100644
--- a/packages/taler-wallet-core/src/operations/pay.ts
+++ b/packages/taler-wallet-core/src/operations/pay.ts
@@ -409,7 +409,7 @@ export async function applyCoinSpend(
const refreshCoinPubs = coinSelection.coinPubs.map((x) => ({
coinPub: x,
}));
- await createRefreshGroup(ws, tx, refreshCoinPubs, RefreshReason.Pay);
+ await createRefreshGroup(ws, tx, refreshCoinPubs, RefreshReason.PayMerchant);
}
/**