aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/deposits.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-18 19:30:48 +0100
committerFlorian Dold <florian@dold.me>2023-01-18 19:33:01 +0100
commit598de5b0d576987ea317b22fd6d33cbe4a1a19ac (patch)
treefe5923b5a8f77a198927e41fb2fe2201294c5b43 /packages/taler-wallet-core/src/operations/deposits.ts
parent5e129abe9e8d71c2fa67bc542684f49b76551379 (diff)
downloadwallet-core-598de5b0d576987ea317b22fd6d33cbe4a1a19ac.tar.xz
wallet-core: Add 'deposited' field to deposit transaction
This field indicates whether the POST requests to deposit coins went through with the exchange. We also don't consider a deposit transaction as having lifeness when it is already deposited and we're just querying for informational deposit tracking information.
Diffstat (limited to 'packages/taler-wallet-core/src/operations/deposits.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/deposits.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/deposits.ts b/packages/taler-wallet-core/src/operations/deposits.ts
index 71caae5b3..f3ec81686 100644
--- a/packages/taler-wallet-core/src/operations/deposits.ts
+++ b/packages/taler-wallet-core/src/operations/deposits.ts
@@ -21,7 +21,6 @@ import {
AbsoluteTime,
AmountJson,
Amounts,
- bytesToString,
CancellationToken,
canonicalJson,
codecForDepositSuccess,
@@ -457,6 +456,8 @@ export async function prepareDepositGroup(
effectiveDepositAmount: Amounts.stringify(effectiveDepositAmount),
};
}
+
+
export async function createDepositGroup(
ws: InternalWalletState,
req: CreateDepositGroupRequest,