Skip to content

Ask Orders doesn't settle #478

@jimmydjabali

Description

@jimmydjabali

Expected behavior
After submitted an "Ask" order (Sell channel), it should automatically open a channel to the selected node.

Actual behavior
After submitted an "Ask" order (Sell channel), the order is blocked on the "ORDER_SUBMITTED" state for several days, with the following details:

{
    "asks":  [
        {
            "details":  {
                "trader_key":  "XXXXX",
                "rate_fixed":  694,
                "amt":  "10000000",
                "max_batch_fee_rate_sat_per_kw":  "12500",
                "order_nonce":  "XXXXX",
                "state":  "ORDER_SUBMITTED",
                "units":  100,
                "units_unfulfilled":  100,
                "reserved_value_sat":  "10002135",
                "creation_timestamp_ns":  "1707304700838378803",
                "events":  [
                    {
                        "timestamp_ns":  "1707304700838378803",
                        "event_str":  "OrderCreated"
                    }
                ],
                "min_units_match":  100,
                "channel_type":  "ORDER_CHANNEL_TYPE_PEER_DEPENDENT",
                "allowed_node_ids":  [
                    "XXXXX"
                ],
                "not_allowed_node_ids":  [],
                "auction_type":  "AUCTION_TYPE_BTC_INBOUND_LIQUIDITY",
                "is_public":  true
            },
            "lease_duration_blocks":  2016,
            "version":  5,
            "announcement_constraints":  "ANNOUNCEMENT_NO_PREFERENCE",
            "confirmation_constraints":  "CONFIRMATION_NO_PREFERENCE"
        }
    ],
    "bids":  []
}

To reproduce

System information

I'm using Pool as part of Lightning Terminal.

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