Skip to content

Commit 979a475

Browse files
committed
Kotlin LDK set currency on create_invoice_from_channelmanager
1 parent 28d47c1 commit 979a475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactnativeldk/LdkModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class LdkModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMod
425425
val res = UtilMethods.create_invoice_from_channelmanager(
426426
channelManager,
427427
keysManager!!.as_KeysInterface(),
428-
Currency.LDKCurrency_Bitcoin,
428+
ldkCurrency,
429429
Option_u64Z.some(amountSats.toLong()),
430430
description
431431
);

0 commit comments

Comments
 (0)