From 598de5b0d576987ea317b22fd6d33cbe4a1a19ac Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 18 Jan 2023 19:30:48 +0100 Subject: 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. --- packages/taler-util/src/transactions-types.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/taler-util') diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts index e81625a5a..7562b5884 100644 --- a/packages/taler-util/src/transactions-types.ts +++ b/packages/taler-util/src/transactions-types.ts @@ -550,6 +550,11 @@ export interface TransactionDeposit extends TransactionCommon { wireTransferDeadline: TalerProtocolTimestamp; wireTransferProgress: number; + + /** + * Did all the deposit requests succeed? + */ + deposited: boolean; } export interface TransactionByIdRequest { -- cgit v1.2.3