lnd: [bug]: updatechanpolicy error: "channel from self node has no policy"

Background

For my testnet node, when doing a updatechanpolicy, I get an error:

# lncli updatechanpolicy --base_fee_msat 0 --fee_rate_ppm 50 --time_lock_delta 69
[lncli] rpc error: code = Unknown desc = channel from self node has no policy

Your environment

  • version of lnd: 0.15.5-beta commit=v0.15.5-beta
  • which operating system (uname -a on *Nix) 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
  • version of btcd, bitcoind, or other backend: bitcoin-0.21.1
  • any other relevant environment details: testnet

Steps to reproduce

Run lncli updatechanpolicy --base_fee_msat 0 --fee_rate_ppm 50 --time_lock_delta 69.

Expected behaviour

Policies are updated

Actual behaviour

Error … Not much more in logs either. Nothing more, actually.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 18 (11 by maintainers)

Most upvoted comments

All fail:

# lncli listchannels | jq -r '.channels[].channel_point' | while read point; do lncli updatechanpolicy --base_fee_msat 0 --fee_rate_ppm 50 --time_lock_delta 69 --chan_point $point; done | head
[lncli] rpc error: code = Unknown desc = channel from self node has no policy
[lncli] rpc error: code = Unknown desc = channel from self node has no policy
[lncli] rpc error: code = Unknown desc = channel from self node has no policy
[...]
[lncli] rpc error: code = Unknown desc = channel from self node has no policy
[lncli] rpc error: code = Unknown desc = channel from self node has no policy
[lncli] rpc error: code = Unknown desc = channel from self node has no policy
[lncli] rpc error: code = Unknown desc = channel from self node has no policy

Nah, chantools is not installed on this machine (yet? 😉 )

note added: abandonchannel is a dangerous command and can lead to loss of funds if used incorrectly - ask in our slack channel if unsure

# lncli abandonchannel --chan_point 2a846144a9375ee97880e75f99fdc8189f30d74a2117df5d30c45647dddd0abd:0 --i_know_what_i_am_doing 
[lncli] rpc error: code = Unknown desc = unable to find closed channel summary

Not sure what to do now 😃