Skip to content

Commit

Permalink
on latest bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Oct 22, 2024
1 parent 2f94fe1 commit 8373ecf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions library/src/main/java/org/xmtp/android/library/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,7 @@ class Client() {
): Client {
this.hasV2Client = false
val clientOptions = options ?: ClientOptions(enableV3 = true)
val accountAddress =
if (account.chainId != null) "eip155:${account.chainId}:${account.address.lowercase()}" else account.address.lowercase()
val accountAddress = account.address.lowercase()
return try {
initializeV3Client(accountAddress, clientOptions, account)
} catch (e: Exception) {
Expand All @@ -341,8 +340,7 @@ class Client() {
): Client {
this.hasV2Client = false
val clientOptions = options ?: ClientOptions(enableV3 = true)
val accountAddress =
if (chainId != null) "eip155:$chainId:${address.lowercase()}" else address.lowercase()
val accountAddress = address.lowercase()
return try {
initializeV3Client(accountAddress, clientOptions)
} catch (e: Exception) {
Expand Down
Binary file modified library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so
Binary file not shown.

0 comments on commit 8373ecf

Please sign in to comment.