Skip to content

Lease created with wrong expire height #346

@vegardengen

Description

@vegardengen

I have an order, created with pool v0.5.4-alpha, in the 12096 block market.

The order was successfully matched, channel created and operational - but it's channel_lease_expiry is set as 1462191 !

Expected behavior

Channel-lease expiry should be creation height plus 12096 blocks.

Actual behavior

Channel-lease expiry is way in the future.

To reproduce

Not easily reproducable as I don't have any details to know why this happened.

System information

Pool v0.5.4-alpha as part of LiT 0.6.4-alpha (at time of channel creation)

Due to a known bug for order creation, the order was created manually with pool command this time.

Details (identifying data removed, can be had upon request):

           {
                    "channel_point": "**************:0",
                    "channel_amt_sat": 3000000,
                    "channel_duration_blocks": 12096,
                    "channel_lease_expiry": 1462191,
                    "channel_node_key": "************************",
                    "channel_node_tier": "TIER_1",
                    "premium_sat": 25474,
                    "clearing_rate_price": 702,
                    "order_fixed_rate": 578,
                    "execution_fee_sat": 3001,
                    "chain_fee_sat": 165,
                    "order_nonce": "********",
                    "matched_order_nonce": "*******",
                    "purchased": false,
                    "self_chan_balance": 0,
                    "sidecar_channel": false
            }

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcli

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions