Skip to content

Commit 046305d

Browse files
committed
chore: update ldk-node
- Update `ldk-node-android` dependency to version `v0.7.0-rc.17` - Update `ChannelDetails` extensions and UI mock data to include the new `claimableOnCloseSats` property required by the SDK update
1 parent 51dd03d commit 046305d

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

app/src/main/java/to/bitkit/ext/ChannelDetails.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ fun createChannelDetails(): ChannelDetails {
7878
forceCloseSpendDelay = null,
7979
inboundHtlcMinimumMsat = 0u,
8080
inboundHtlcMaximumMsat = null,
81+
claimableOnCloseSats = 0u,
8182
config = ChannelConfig(
8283
forwardingFeeProportionalMillionths = 0u,
8384
forwardingFeeBaseMsat = 0u,

app/src/main/java/to/bitkit/ui/screens/wallets/receive/ReceiveQrScreen.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@ private fun PreviewAutoMode() {
694694
forceCloseSpendDelay = null,
695695
inboundHtlcMinimumMsat = 0uL,
696696
inboundHtlcMaximumMsat = null,
697+
claimableOnCloseSats = 0uL,
697698
config = org.lightningdevkit.ldknode.ChannelConfig(
698699
forwardingFeeProportionalMillionths = 0u,
699700
forwardingFeeBaseMsat = 0u,
@@ -764,6 +765,7 @@ private fun PreviewSpendingMode() {
764765
forceCloseSpendDelay = null,
765766
inboundHtlcMinimumMsat = 0uL,
766767
inboundHtlcMaximumMsat = null,
768+
claimableOnCloseSats = 0uL,
767769
config = org.lightningdevkit.ldknode.ChannelConfig(
768770
forwardingFeeProportionalMillionths = 0u,
769771
forwardingFeeBaseMsat = 0u,

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
5858
ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
5959
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
6060
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
61-
ldk-node-android = { module = "com.github.synonymdev:ldk-node", version = "v0.7.0-rc.8" } # fork | local: remove `v`
61+
ldk-node-android = { module = "com.github.synonymdev.ldk-node:ldk-node-android", version = "v0.7.0-rc.17" }
6262
lifecycle-process = { group = "androidx.lifecycle", name = "lifecycle-process", version.ref = "lifecycle" }
6363
lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle" }
6464
lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" }

0 commit comments

Comments
 (0)