Skip to content

[bug]: Assets Not Found On-Chain After Normal Forced Closure to 'Closedchannel' State #1848

@shuishihang

Description

@shuishihang

I have a node that opened an asset channel, which entered the pending_force_closing_channels state and eventually moved to closedchannels. However, when I used the command
tapcli --network mainnet --rpcserver localhost:8443 a l,
I couldn’t find the on-chain assets. Additionally, the data shown in unconfirmed_transfers looks unusual.

{
    "assets": [],
    "unconfirmed_transfers": "23",
    "unconfirmed_mints": "0"
}

This is the data returned by my lncli closedchannels command.

{
    "channels": [
        {
            "channel_point": "7b57e36406cf36d5d8d5846adc7ab1890605cc00632419f6445e3fc53a0b327e:0",
            "chan_id": "999601205214773248",
            "chain_hash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
            "closing_tx_hash": "e63fe180c665ed237f270c3fd07d6ed973bf9aaace71197ffc632579c52caf28",
            "remote_pubkey": "02c953421bc7f07be6052920e46843d11e6d3ffc9986177c91f140d76c6ed3a3d4",
            "capacity": "20000",
            "close_height": 914486,
            "settled_balance": "10000",
            "time_locked_balance": "0",
            "close_type": "REMOTE_FORCE_CLOSE",
            "open_initiator": "INITIATOR_REMOTE",
            "close_initiator": "INITIATOR_REMOTE",
            "resolutions": [
                {
                    "resolution_type": "COMMIT",
                    "outcome": "CLAIMED",
                    "outpoint": {
                        "txid_bytes": "28af2cc5792563fc7f1971ceaa9abf73d96e7dd03f0c277f23ed65c680e13fe6",
                        "txid_str": "e63fe180c665ed237f270c3fd07d6ed973bf9aaace71197ffc632579c52caf28",
                        "output_index": 3
                    },
                    "amount_sat": "10000",
                    "sweep_txid": "a65a1a6879bcdfacf0620354fbbdde54ce77fdacb62aa360f4e2579c20d750f4"
                }
            ],
            "alias_scids": [
                "17592186044416000001"
            ],
            "zero_conf_confirmed_scid": "0"
        }
    ]
}

This is the output returned by the command tapcli --network mainnet --rpcserver localhost:8443 a t.

assetTx.txt

Metadata

Metadata

Assignees

Labels

P1bugSomething isn't working

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions