libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 3bbe7b976764c31bf9a9b4ee1cad520ac76c09ab
parent 4c70adc49dd78381a42608bc1b1d68551f188d5f
Author: Antoine A <>
Date:   Mon,  6 Jan 2025 17:31:59 +0100

common: fix typo

Diffstat:
Mcommon/src/main/kotlin/Subject.kt | 4++--
Mnexus/src/main/kotlin/tech/libeufin/nexus/iso20022/camt.kt | 1+
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/src/main/kotlin/Subject.kt b/common/src/main/kotlin/Subject.kt @@ -25,7 +25,7 @@ data class IncomingSubject(val type: IncomingType, val key: EddsaPublicKey) /** Base32 quality by proximity to spec and error probability */ private enum class Base32Quality { - /// Both mixed casing and mixed characters, thats weird + /// Both mixed casing and mixed characters, that's weird Mixed, /// Standard but use lowercase, maybe the client shown lowercase in the UI Standard, @@ -140,7 +140,7 @@ fun parseIncomingSubject(subject: String): IncomingSubject { best = other } else if (best.subject.key != other.subject.key // If keys are different && best.quality == other.quality // Of same quality - && !( // And prefixing is diferent + && !( // And prefixing is different (best.subject.type == IncomingType.kyc || best.subject.type == IncomingType.wad) && other.subject.type == IncomingType.reserve )) diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/iso20022/camt.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/iso20022/camt.kt @@ -289,6 +289,7 @@ fun parseTx(notifXml: InputStream, dialect: Dialect): List<AccountTransactions> disadvantage of being known only by the account servicing institution. They should therefore only be used as a last resort. */ + logger.trace("Parse transactions camt file for $dialect") val accountTxs = mutableListOf<AccountTransactions>() XmlDestructor.fromStream(notifXml, "Document") { when (dialect) { Dialect.gls -> {