taler-typescript-core

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

commit e383c41f4efcf58bdffc8635750955d8f2963f6c
parent e7613b0d7f3c517f10f82c246d5d743ea3a14558
Author: Florian Dold <dold@taler.net>
Date:   Mon, 20 Jul 2026 20:48:32 +0200

util: fix the AML investigation state derivation

INVESTIGATION_STATE compared INCRISK_RESULT against SUBSTANTIATED_SUSPICION,
which is not one of its values; the form emits REASONABLE_SUSPICION.  Filing
under Art. 9 GwG therefore derived no property and emitted no event, leaving
the reported count of those reports at zero.

Diffstat:
Mpackages/taler-util/src/aml/properties.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-util/src/aml/properties.ts b/packages/taler-util/src/aml/properties.ts @@ -182,7 +182,7 @@ export const PropertiesDerivation_TOPS: PropertiesDerivationFunctionByPropertyNa } if ( attributes[TalerFormAttributes.INCRISK_RESULT] === - "SUBSTANTIATED_SUSPICION" + "REASONABLE_SUSPICION" ) { return "REPORTED_SUSPICION_SUBSTANTIATED"; }