Skip to content

v26.06.10 dev-forget-channel is not working as intended #9745

Open

Description

@overcoin

Example is from the help section but return value below is from command with real nodeid and short_channel_id.

lightning-cli dev-forget-channel -k "id"="nodeid030303030303030303030303030303030303030303030303030303030303" "short_channel_id"="111x1x1" "force"=true

{
   "code": -1,
   "message": "This channel has HTLCs attached and it is not safe to forget it. Please use `close` or `dev-fail` instead."
}

Message shouldn't be as if "force"=false! Not sure what dev-fail` is about and if it is possible to use it in v26.06.10?

lightning-cli help | grep dev-
dev-compact-gossip-store 
dev-connectd-exhaust-fds 
dev-fail id
dev-feerate id feerate
dev-finalizepsbt psbt
dev-forget-channel id [short_channel_id] [channel_id] [force]
dev-ignore-htlcs id ignore
dev-listaddrs [max_index]
dev-memdump 
dev-memleak 
dev-peer-shachain id seed
dev-queryrates id amount request_amt [commitment_feerate] [funding_feerate]
dev-quiesce id
dev-rawrequest invreq nodeid [timeout]
dev-reenable-commit id
dev-report-fds 
dev-rescan-outputs 
dev-set-max-scids-encode-size max
dev-sign-last-tx id
dev-splice [script_or_json] [dryrun] [force_feerate] [debug_log] [dev-wetrun]
dev-suppress-gossip 
invoice amount_msat label description [expiry] [fallbacks] [preimage] [exposeprivatechannels] [cltv] [deschashonly] [dev-routes]

What command or combination of commands should I use to forget and completely delete real nodeid with real short_channel_id?

This issue is related to #8935 which is still unresolved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions