thunderhub icon indicating copy to clipboard operation
thunderhub copied to clipboard

Thunderhub won’t rebalance two channels with same peer?

Open satoshinaka069 opened this issue 3 years ago • 3 comments

The Problem/Bug: I have two channels open with one peer (mainnet.lightningconductor.net). When attempting to rebalance between these two channels, Thunderhub only let’s me choose this channel for 'Outgoing'. For 'Incoming' this channel isn’t an available option. At least when I attempt to rebalance, it appears that both channels are being added together and considered as one single channel. In short, Thunderhub won't let me rebalance between these two channels. However, I was able to do a Loop Out using Lightning Terminal and rebalanced just fine. Is this a bug with Thunderhub? (I am a new user so I might just be missing something)

Screenshots:

7c63c1ad1935c5216a4ea631087c8af05a60de95

83d46143f416d985f83d4b37c6302e9496cc2c26

For additional context: See this thread/discussion about this issue in the Umbrel forum.

My Environment:

  • Version of ThunderHub: 0.13.15
  • Deployment method: Umbrel v0.5.1 running on Raspberry Pi 4

satoshinaka069 avatar Sep 07 '22 15:09 satoshinaka069

LND will only allow you to select pubKey for lastHop, it probably has something to do with this limitation.

https://api.lightning.community/#sendpaymentv2

v0l avatar Oct 06 '22 10:10 v0l

Thank you @v0l. This seems plausible.

satoshinaka069 avatar Oct 06 '22 13:10 satoshinaka069

You can get around this by using BuildRoute + SentToRoute or by caling QueryRoutes which should return the full path with in and out channels, then you can pass this to SentToRoute

v0l avatar Oct 12 '22 09:10 v0l