-
Notifications
You must be signed in to change notification settings - Fork 58
Description
From the Discord discussion here.
Peerswap 5.0.0-rc2
CLN v25.02.2
Elementsd v23.2.7
On lightningd startup, Peerswap logs end with plugin-peerswap: Waiting for cln to be synced..., but looking through the code, it seems that there should be a subsequent CLN synced message if the process continued successfully.
A quick investigation indicates there might be an infinite loop during the sync verification here, which checks on the glightning variables WarningBitcoinSync and WarningLightningSync here.
Tried to whip up a quick PR to test these values for nil instead of "", but the typing didn't work. I'm not a Go programmer (yet). Perhaps there is an issue with omitempty on these properties and the marshalling or unmarshalling of the values?
It's also possible my config or unique combination of versions is to blame, so any suggestions would be appreciated to gather more information on the RPC connectivity.