Skip to content

Commit 296c3b8

Browse files
committed
Update Kotlin full cycle test to account for updated min. HTLC
1 parent 257bffb commit 296c3b8

File tree

1 file changed

+2
-2
lines changed
  • bindings/kotlin/ldk-node-jvm/lib/src/test/kotlin/org/lightningdevkit/ldknode

1 file changed

+2
-2
lines changed

bindings/kotlin/ldk-node-jvm/lib/src/test/kotlin/org/lightningdevkit/ldknode/LibraryTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class LibraryTest {
205205
else -> return
206206
}
207207

208-
val invoice = node2.receivePayment(1000000u, "asdf", 9217u)
208+
val invoice = node2.receivePayment(2500000u, "asdf", 9217u)
209209

210210
node1.sendPayment(invoice)
211211

@@ -245,7 +245,7 @@ class LibraryTest {
245245
println("Spendable balance 2 after close: $spendableBalance2AfterClose")
246246
assert(spendableBalance1AfterClose > 95000u)
247247
assert(spendableBalance1AfterClose < 100000u)
248-
assertEquals(101000uL, spendableBalance2AfterClose)
248+
assertEquals(102500uL, spendableBalance2AfterClose)
249249

250250
node1.stop()
251251
node2.stop()

0 commit comments

Comments
 (0)