commit f1add8dc6e27285d8489aa8684d0710c575498ff
parent 9b7cad4415ba5ef31b96840a50710aa4310fd5f0
Author: MS <ms@taler.net>
Date: Thu, 25 May 2023 11:57:26 +0200
comment
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/nexus/src/test/kotlin/SubjectNormalization.kt b/nexus/src/test/kotlin/SubjectNormalization.kt
@@ -29,6 +29,7 @@ class SubjectNormalization {
val extractedPub = extractReservePubFromSubject(validPub) // has 0s.
assert(CryptoUtil.checkValidEddsaPublicKey(extractedPub!!))
val extractedPubWithOs = extractReservePubFromSubject(validPub.replace('0', 'O'))
+ // The "!!" ensures that the extractor did find the reserve pub. with Os instead of zoers.
assert(CryptoUtil.checkValidEddsaPublicKey(extractedPubWithOs!!))
}
}
\ No newline at end of file