From b9e43e652e606706a81f39d4f888477580de79b0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 8 Sep 2020 19:27:08 +0530 Subject: fix tipping and adjust DB --- packages/taler-wallet-core/src/operations/reserves.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/reserves.ts') diff --git a/packages/taler-wallet-core/src/operations/reserves.ts b/packages/taler-wallet-core/src/operations/reserves.ts index 69942fe94..b4fa3b23e 100644 --- a/packages/taler-wallet-core/src/operations/reserves.ts +++ b/packages/taler-wallet-core/src/operations/reserves.ts @@ -818,10 +818,7 @@ async function depleteReserve( const withdrawalRecord: WithdrawalGroupRecord = { withdrawalGroupId: withdrawalGroupId, exchangeBaseUrl: newReserve.exchangeBaseUrl, - source: { - type: WithdrawalSourceType.Reserve, - reservePub: newReserve.reservePub, - }, + reservePub: newReserve.reservePub, rawWithdrawalAmount: withdrawAmount, timestampStart: getTimestampNow(), retryInfo: initRetryInfo(), -- cgit v1.2.3