From 6468ee9cd5cbd3087b78fe03ced031f34c2c1732 Mon Sep 17 00:00:00 2001 From: Nesopie <87437291+Nesopie@users.noreply.github.com> Date: Wed, 1 Oct 2025 13:02:30 +0530 Subject: [PATCH] fix: ofac (#1172) --- sdk/core/src/SelfBackendVerifier.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/core/src/SelfBackendVerifier.ts b/sdk/core/src/SelfBackendVerifier.ts index 67d9c15d3..e27702fba 100644 --- a/sdk/core/src/SelfBackendVerifier.ts +++ b/sdk/core/src/SelfBackendVerifier.ts @@ -328,7 +328,8 @@ export class SelfBackendVerifier { ? verificationConfig.minimumAge <= Number.parseInt(genericDiscloseOutput.minimumAge, 10) : true, isOfacValid: - verificationConfig.ofac !== undefined && verificationConfig.ofac ? cumulativeOfac : true, + //isOfacValid is true when a person is in OFAC list + verificationConfig.ofac !== undefined && verificationConfig.ofac ? cumulativeOfac : false, }, forbiddenCountriesList, discloseOutput: genericDiscloseOutput,