Skip to content

Commit

Permalink
Merge pull request #80 from LtbLightning/v31-upgrade
Browse files Browse the repository at this point in the history
Fixed getInternalAddress typo for Android
  • Loading branch information
BitcoinZavior authored Mar 27, 2024
2 parents 790be7d + 45c5ce5 commit bc918a5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion android/.settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
connection.project.dir=../../../android
arguments=--init-script /var/folders/77/pwdxzmrn7p53dyts2cw8s2ch0000gn/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/77/pwdxzmrn7p53dyts2cw8s2ch0000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(8.1.1))
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=/Library/Java/JavaVirtualMachines/jdk-18.0.2.jdk/Contents/Home
jvm.arguments=
offline.mode=false
override.workspace.settings=true
show.console.view=true
show.executions.view=true
2 changes: 1 addition & 1 deletion android/src/main/java/io/ltbl/bdkrn/BdkRnModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ class BdkRnModule(reactContext: ReactApplicationContext) :
}
}

val addressInfo = getWalletById(id).getAddress(setAddressIndex(resolvedIndex))
val addressInfo = getWalletById(id).getInternalAddress(setAddressIndex(resolvedIndex))
_addresses[randomId] = addressInfo.address
val responseObject = mutableMapOf<String, Any?>()
responseObject["index"] = addressInfo.index.toInt()
Expand Down

0 comments on commit bc918a5

Please sign in to comment.