We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c980eb commit a441599Copy full SHA for a441599
lib/src/main/kotlin/org/walletconnect/impls/WCSession.kt
@@ -219,7 +219,7 @@ class WCSession(
219
}
220
221
private fun accountCheck(id: Long, address: String): Boolean {
222
- approvedAccounts?.find { it.toLowerCase() == address.toLowerCase() } ?: run {
+ approvedAccounts?.find { it.equals(address, ignoreCase = true) } ?: run {
223
handlePayloadError(Session.MethodCallException.InvalidAccount(id, address))
224
return false
225
0 commit comments