Open
Description
lncli closechannel --delivery_addr
allows to define an address to send the remaining funds to upon a channel-close.
Considered the idea to have my recent channel-close all go to the static loop in address failed, due to the following error:
lncli closechannel --chan_point ab176bce1b844a6394ababb46c5446673ff5e697927ac2f446bffaf73f6e853e:2 --delivery_addr bc1p5548p39cn67qxse3lrwtducjvxn5tg0gywfpszy6404j4r
m55hys2y45yw --sat_per_vbyte 3
[lncli] rpc error: code = Unknown desc = unable to parse addr for channel ab176bce1b844a6394ababb46c5446673ff5e697927ac2f446bffaf73f6e853e:2: unable to fetch internal key: expected pubkey addr, got <nil>
so apparently lncli errors out because of the defined static delivery address, since it worked without that parameter.
Doublechecked the address twice:
litloop static s
{
"static_address": "bc1p5548p39cn67qxse3lrwtducjvxn5tg0gywfpszy6404j4rm55hys2y45yw"
So unsure if it's a bug or a missing feature, however my suggestion would be to ensure that lncli can fill a static loop in address on coop-channel closures.
Metadata
Metadata
Assignees
Labels
No labels