taler-typescript-core

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

commit 9b170f52d582fcf388db2226195fa7e512b5d6b6
parent b3d19e355d4900a3460d8ce40392a9d91cbcb315
Author: Florian Dold <florian@dold.me>
Date:   Thu, 12 Dec 2024 18:31:23 +0100

wallet-core: fix handling of account_pub in deposit KYC

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

diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts @@ -1324,12 +1324,7 @@ async function processDepositGroupPendingTrack( logger.trace(`track response: ${j2s(track)}`); if (track.type === "accepted") { if (!track.kyc_ok && track.requirement_row !== undefined) { - if (!track.account_pub) { - // FIXME: Handle this properly. - throw Error("Deposit accepted but KYC auth missing"); - } - // FIXME: Take this from the response. If not present, require KYC transfer. - // But: Why did exchange accept deposit in the first place if missing? + // FIXME: Take this from the response. const paytoHash = encodeCrock( hashNormalizedPaytoUri(depositGroup.wire.payto_uri), );