Ride-The-Lightning / RTL

Ride The Lightning - A full function web browser app for LND, C-Lightning and Eclair
MIT License
751 stars 158 forks source link

rebalance without stating last_hop #280

Open manreo opened 4 years ago

manreo commented 4 years ago

As far as I see, in RTL re-balancing feature, one has to set the last_hop. But LND offer re-balancing without stating the last_hop, specifically it is possible to do:

lncli --network=testnet payinvoice --allow_self_payment --outgoing_chan_id=12345 --pay_req=l....

Can RTL please add support in sending circular payment without setting the last_hop

Thank you

ShahanaFarooqui commented 4 years ago

@saubyk Please advise.

saubyk commented 4 years ago

Hi @MrManPew looking at this issue now. If the user is not specifying the last hop, how would the user have control over the channel to balance? I believe if we make it optional, it will create confusion as the user will have no idea, which channel has been balanced after the sendpayment api is executed.