Skip to content

Commit

Permalink
fix: inner keys manager function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb committed Aug 22, 2024
1 parent 5b5bd0c commit ec9907b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/android/src/main/java/com/reactnativeldk/LdkModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ class LdkModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMod
}

val res = if (useInner) {
keysManager!!.inner.spend_spendable_outputs(
keysManager!!.inner.as_OutputSpender().spend_spendable_outputs(
descriptors,
emptyArray(),
changeDestinationScript.hexa(),
Expand Down
2 changes: 1 addition & 1 deletion lib/ios/Ldk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ class Ldk: NSObject {
continue
}

let res = useInner ? keysManager.inner.spendSpendableOutputs(
let res = useInner ? keysManager.inner.asOutputSpender().spendSpendableOutputs(
descriptors: descriptors,
outputs: [],
changeDestinationScript: String(changeDestinationScript).hexaBytes,
Expand Down

0 comments on commit ec9907b

Please sign in to comment.