Skip to content

[cch] receive_btc return CLTV delta of 9600036 is too large, max accepted is: 65535 #975

@gpBlockchain

Description

@gpBlockchain

commit: doitian/fiber/tree/feature/cch-monitor-store-changes

curl --location 'http://127.0.0.1:8229' --header 'Content-Type: application/json' --data '{
    "id": 42,
    "jsonrpc": "2.0",
    "method": "new_invoice",
    "params": [
        {
            "amount": "0x9184e72a000",
            "currency": "Fibd",
            "description": "test invoice",
            "udt_type_script": {
                "code_hash": "0x102583443ba6cfe5a3ac268bbb4475fb63eb497dce077f126ad3b148d4f4f8f8",
                "hash_type": "type",
                "args": "0x32e555f3ff8e135cece1351a6a2971518392c1e30375c1e006ad0ce8eac07947"
            },
            "payment_preimage": "0x25fefe4fff6e62fb6b0e7d279e9806a9a808c947e97847b0fe28db3fc0192ee3"
        }
    ]
}'
2025-12-02 14:42:07 [connectionpool.py:241][DEBUG] Starting new HTTP connection (1): 127.0.0.1:8229
2025-12-02 14:42:07 [connectionpool.py:544][DEBUG] http://127.0.0.1:8229 "POST / HTTP/1.1" 200 1313
2025-12-02 14:42:07 [fiber_rpc.py:239][DEBUG] response:
{"jsonrpc": "2.0", "id": 42, "result": {"invoice_address": "fibd100000000000001pphes47fyecqzg7dwfhdd0ps6wufu4r44d54m9eqlp790r4knqlpenxz5xkrxpgphua749q9whsunk8y3sjhftr97knw4ld29kdvzj00ucu6w7f0n0cjyx6g958kt0c3c2pj9p2zk9cmslc5psmxefvlu0s73m6rphpph35hcuxqun0vc50h0rzfs2gyvx3lm5x3zwg4c06vhv97gyjstp83y0qanjuf7gc27deuhasx0fchcvaxelglhw3mv4xf8eh2eup7yfe4wzk6eqzgyg0xuh39g0n7trjkq0qzkj22vd83r2fng9u03g7uzqqulszp0t8m2rpjxgcg9s23qxzgm58xnu3rp0jsx8sqkfse9z6nm4uu8dp4wcu45e4g03r9q3keuh05t5ff6tm0ls3kjkth60qh8dngx7ua97fzl9s76sjj0cepj92v3t6vx3kjhmcf8779wncp8gnznd", "invoice": {"currency": "Fibd", "amount": "0x9184e72a000", "signature": "1609101905021a131b151c1c070d01150e181c15141915080f110305001116191c170f140b1409091a0b1b0f1f10111612160b171a0f0017070d1308061e1c1d051e09021f05101e1a1012120f18190112050a0c110b1a0c06111612171b1809071e1e050e131801", "data": {"timestamp": "0x19addcc0653", "payment_hash": "0x13dac076f8c37ca0fe686f2f364454746d5d1c42a0abcbb9604b8269a30e12a7", "attrs": [{"description": "test invoice"}, {"final_htlc_minimum_expiry_delta": "0x927c00"}, {"udt_script": "0x55000000100000003000000031000000102583443ba6cfe5a3ac268bbb4475fb63eb497dce077f126ad3b148d4f4f8f8012000000032e555f3ff8e135cece1351a6a2971518392c1e30375c1e006ad0ce8eac07947"}, {"payee_public_key": "02fbe20334c06a88d5224fa143c4fac1dbaab9886631511fdf9214a7c238338999"}]}}}}
2025-12-02 14:42:07 [fiber_rpc.py:229][DEBUG] curl --location 'http://127.0.0.1:8228' --header 'Content-Type: application/json' --data '{
    "id": 42,
    "jsonrpc": "2.0",
    "method": "receive_btc",
    "params": [
        {
            "fiber_pay_req": "fibd100000000000001pphes47fyecqzg7dwfhdd0ps6wufu4r44d54m9eqlp790r4knqlpenxz5xkrxpgphua749q9whsunk8y3sjhftr97knw4ld29kdvzj00ucu6w7f0n0cjyx6g958kt0c3c2pj9p2zk9cmslc5psmxefvlu0s73m6rphpph35hcuxqun0vc50h0rzfs2gyvx3lm5x3zwg4c06vhv97gyjstp83y0qanjuf7gc27deuhasx0fchcvaxelglhw3mv4xf8eh2eup7yfe4wzk6eqzgyg0xuh39g0n7trjkq0qzkj22vd83r2fng9u03g7uzqqulszp0t8m2rpjxgcg9s23qxzgm58xnu3rp0jsx8sqkfse9z6nm4uu8dp4wcu45e4g03r9q3keuh05t5ff6tm0ls3kjkth60qh8dngx7ua97fzl9s76sjj0cepj92v3t6vx3kjhmcf8779wncp8gnznd"
        }
    ]
}'
2025-12-02 14:42:07 [connectionpool.py:241][DEBUG] Starting new HTTP connection (1): 127.0.0.1:8228
2025-12-02 14:42:07 [connectionpool.py:544][DEBUG] http://127.0.0.1:8228 "POST / HTTP/1.1" 200 255
2025-12-02 14:42:07 [fiber_rpc.py:239][DEBUG] response:
{"jsonrpc": "2.0", "id": 42, "error": {"code": -32000, "message": "Lnd RPC error: status: Unknown, message: \"CLTV delta of 9600036 is too large, max accepted is: 65535\", details: [], metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\"} }"}}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions