lnd: "Invalid address or key" when attempting to openchannel

Background

This is an upgraded 15.1 node with existing channels and chain balances, including pending force closes

Using a btcd direct backend that was upgraded to 22 as required

When attempting to open a channel, it fails with:

[lncli] rpc error: code = Unknown desc = -5: Invalid address or key: bc1p...

Same result with defaults or specifying anchors as chan type.

Addresses in error do not appear to be UTXO’s in the chain wallet

Your environment

  • version of lnd: 15.1
  • which operating system (uname -a on *Nix) Ubuntu / 5.4.41-1
  • btcd22

Steps to reproduce

Production node balances on 15.1

Expected behaviour

Channel should open and show a txid

Actual behaviour

Complains about UTXO key

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (1 by maintainers)

Most upvoted comments

Awesome, got it built with CGO disabled…

Peer I was opening to is offline now of course… grabbing another…

You need to be using btcd v0.23.1.