taler-typescript-core

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

commit 2c7652e983d65aa863ff3cc90fc9176a900fc0ae
parent e79647797cfc80c02cdc8283c4a2ec6308e2ca03
Author: Iván Ávalos <avalos@disroot.org>
Date:   Fri, 21 Aug 2026 15:41:44 +0200

wallet-core: drop the unreachable contract-terms guard in deposit coin selection

Diffstat:
Mpackages/taler-wallet-core/src/deposits.ts | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts @@ -2131,13 +2131,6 @@ async function doCoinSelection( return false; } - const contractTermsRec = tx.getContractTerms( - depositGroup.contractTermsHash, - ); - if (!contractTermsRec) { - throw Error("contract terms for deposit not found in database"); - } - const payCoinSel = await selectPayCoinsInTx(wex, tx, { restrictExchanges: { auditors: [],