taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 733d06c8d4bc7bf15d00039d9548eafcb36f8af8
parent 5e129abe9e8d71c2fa67bc542684f49b76551379
Author: Sebastian <sebasjm@gmail.com>
Date:   Wed, 18 Jan 2023 17:29:36 -0300

fix: using wrong variable

Diffstat:
Mpackages/taler-wallet-core/src/operations/backup/import.ts | 2+-
Mpackages/taler-wallet-core/src/operations/withdraw.ts | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/backup/import.ts b/packages/taler-wallet-core/src/operations/backup/import.ts @@ -199,7 +199,7 @@ async function getDenomSelStateFromBackup( return { selectedDenoms, totalCoinValue: Amounts.stringify(totalCoinValue), - totalWithdrawCost: Amounts.stringify(totalCoinValue), + totalWithdrawCost: Amounts.stringify(totalWithdrawCost), }; } diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -225,7 +225,7 @@ export function selectWithdrawalDenominations( return { selectedDenoms, totalCoinValue: Amounts.stringify(totalCoinValue), - totalWithdrawCost: Amounts.stringify(totalCoinValue), + totalWithdrawCost: Amounts.stringify(totalWithdrawCost), }; }