diff options
author | Florian Dold <florian@dold.me> | 2023-02-14 11:16:58 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-14 11:17:19 +0100 |
commit | 6a4da88719bc7a1506433c1117b2402d2bd48f36 (patch) | |
tree | 7094aed1a6a8e1fe85854225c8744c955d7d973c /packages/taler-wallet-core/src/operations/transactions.ts | |
parent | 6106caeba9e017242dfd334c34c8473aefb6ffb0 (diff) | |
download | wallet-core-6a4da88719bc7a1506433c1117b2402d2bd48f36.tar.xz |
wallet-core: expose more info about refund query
Diffstat (limited to 'packages/taler-wallet-core/src/operations/transactions.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/transactions.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index c1b82f9c9..8aae2332c 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -58,7 +58,6 @@ import { WithdrawalGroupStatus, } from "../db.js"; import { InternalWalletState } from "../internal-wallet-state.js"; -import { assertUnreachable } from "../util/assertUnreachable.js"; import { checkDbInvariant } from "../util/invariants.js"; import { RetryTags } from "../util/retries.js"; import { @@ -846,6 +845,8 @@ async function buildTransactionForPurchase( ), proposalId: purchaseRecord.proposalId, info, + refundQueryActive: + purchaseRecord.purchaseStatus === PurchaseStatus.QueryingRefund, frozen: purchaseRecord.purchaseStatus === PurchaseStatus.PaymentAbortFinished ?? false, |