Skip to content

Commit

Permalink
fix account validation
Browse files Browse the repository at this point in the history
  • Loading branch information
c4t-dr34m committed Dec 23, 2024
1 parent fa5a754 commit 4c2e7bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class IBAN {
// Generate IBAN code for Czech account
@Throws(ValidationException::class)
fun createForCzechAccount(prefix: Long?, account: Long, bank: Long): String {
var isValid = false
var isValid = true
if (prefix != null) {
isValid = validateEleven(prefix)
}
Expand Down

0 comments on commit 4c2e7bf

Please sign in to comment.