Skip to content

Conversation

arik-so
Copy link
Contributor

@arik-so arik-so commented Oct 25, 2023

No description provided.

Copy link
Collaborator

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good!

Locally test is stuck for me at:

            while true {
                let channelA = peer1.channelManager.listUsableChannels()[0]
                let channelB = peer2.channelManager.listUsableChannels()[0]
                currentChannelABalance = channelA.getBalanceMsat()
                currentChannelBBalance = channelB.getBalanceMsat()
                if currentChannelABalance != prePaymentBalanceAToB && currentChannelBBalance != prePaymentBalanceBToA {
                    break
                }

(https://github.com/arik-so/ldk-swift/blob/1ddfb0f3ff51d3dc5818068d4f8f453c9f1f9f9c/ci/LDKSwift/Tests/LDKSwiftTests/HumanObjectPeerTestInstance.swift#L938-L945)

due to:

currentChannelABalance: 92999000, prePaymentBalanceAToB: 89999000
currentChannelBBalance: 99999000, prePaymentBalanceBToA: 99999000

This is probably connected to the recent changes in handling balance_msat?

@tnull tnull mentioned this pull request Oct 26, 2023
@arik-so arik-so merged commit 412de9a into lightningdevkit:main Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants