I consistently receive an error when attempting to open a channel using the close_address parameter.
Recently, I’ve been trying to open a channel but I keep receiving an error and I’m not sure what the problem is. I’ve tested it on the testnet and successfully created a channel using nested segwit Bitcoin addresses.
Your environment
version of lnd: v0.16.4-beta
which operating system (uname -a on *Nix): Ubuntu 22.04.3 LTS
version of btcd, bitcoind, or other backend
any other relevant environment details: LITD: LiT version: 0.10.5-alpha
Steps to reproduce
First, I attempted to open a channel and added the close_address parameter, but received an error prompt from the RPC
ubuntu@ubuntu:~# lncli openchannel --node_key 030a58b8653d32b99200a2334cfe913e51dc7d155aa0116c176657a4f1722677a3 \
--connect 165.227.246.10:9735 \
--base_fee_msat 1000 \
--fee_rate_ppm 1000 \
--close_address 3BqV8kBeA9UfnTvZoQ2LGP1JWYbgoCJXNm \
--local_amt 25000000
[lncli] rpc error: code = Unknown desc = received funding error from 030a58b8653d32b99200a2334cfe913e51dc7d155aa0116c176657a4f1722677a3: chan_id=6ad27cbe4df99c42a1109a306175a3346a500bfd51bb0d2573c87ba1067405e9, err=funding failed due to internal error
Then, I tried removing the close_address parameter and attempted to open the channel again, and the channel was opened successfully.
Background
I consistently receive an error when attempting to open a channel using the close_address parameter.
Recently, I’ve been trying to open a channel but I keep receiving an error and I’m not sure what the problem is. I’ve tested it on the testnet and successfully created a channel using nested segwit Bitcoin addresses.
Your environment
lnd
: v0.16.4-betauname -a
on *Nix): Ubuntu 22.04.3 LTSbtcd
,bitcoind
, or other backendSteps to reproduce
Expected behaviour
A channel can be created successfully by using the close_address parameter.
Actual behaviour
The channel creation was unsuccessful.