Skip to content

Commit

Permalink
merge: [PHO-3883] Fix known PinPads filter logic (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvidas authored Nov 26, 2024
1 parent e4f9d97 commit 19c8c3e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,10 @@ internal class ChipDnaDriver :
private fun isKnownPinPad(pad: String): Boolean {
val known = listOf("CHB", "IDTECH")
for (prefix in known) {
if (!pad.uppercase().startsWith(prefix)) {
return false
if (pad.uppercase().startsWith(prefix)) {
return true
}
}
return true
return false
}
}

0 comments on commit 19c8c3e

Please sign in to comment.