C-Otto / rebalance-lnd

A script that can be used to balance lightning channels of a lnd node
MIT License
343 stars 82 forks source link

error message on execution #331

Closed malahora closed 8 months ago

malahora commented 8 months ago

hi there: The channels that I have open are detected... but... when I try to execute the balancing I receive these error lines

umbrel@umbrel:/mnt/data/upgrades/rebalance-lnd $ /mnt/data/upgrades/rebalance-lnd/rebalance.py -t [xxxxxxxxxxx] -a 100000 Traceback (most recent call last): File "/mnt/data/upgrades/rebalance-lnd/rebalance.py", line 541, in success = main() File "/mnt/data/upgrades/rebalance-lnd/rebalance.py", line 321, in main return Rebalance(arguments).start() File "/mnt/data/upgrades/rebalance-lnd/rebalance.py", line 23, in init self.last_hop_channel_id = self.parse_channel_id(arguments.to) File "/mnt/data/upgrades/rebalance-lnd/rebalance.py", line 40, in parse_channel_id return int(id_string) ValueError: invalid literal for int() with base 10: '[xxxxxxxxxxx]'

C-Otto commented 8 months ago

The channel ID needs to be numeric (861393693169811457), using the ":" notation (783433:1318:1) or the "x" notation (783433x1318x1). Whatever you entered is not supported.

malahora commented 8 months ago

I put everything xxxxxxx for not revealing the address of the channels

/mnt/data/upgrades/rebalance-lnd/rebalance.py -t [A0917846A55417856A] -a 100000

this is the command used

i change some numbers for A letter ( is a fictitious address using A)

and dont runs

excuse my clumsiness