aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-03-10 16:30:24 +0100
committerFlorian Dold <florian@dold.me>2022-03-10 16:30:24 +0100
commit9d660788521d93452aa767d86158889fd4870fd1 (patch)
tree1ee3315e9224ee56b1848cfab02974a2dc6a2da6 /packages/taler-util
parent1607c728bca19a003ca08b64b4d2afc73e4d1e2a (diff)
wallet-core: do not rely on reserve history for withdrawals
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/ReserveStatus.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/taler-util/src/ReserveStatus.ts b/packages/taler-util/src/ReserveStatus.ts
index b17207f24..eb147da2d 100644
--- a/packages/taler-util/src/ReserveStatus.ts
+++ b/packages/taler-util/src/ReserveStatus.ts
@@ -43,15 +43,9 @@ export interface ReserveStatus {
* Balance left in the reserve.
*/
balance: AmountString;
-
- /**
- * Transaction history for the reserve.
- */
- history: ReserveTransaction[];
}
export const codecForReserveStatus = (): Codec<ReserveStatus> =>
buildCodecForObject<ReserveStatus>()
.property("balance", codecForString())
- .property("history", codecForList(codecForReserveTransaction()))
.build("ReserveStatus");