Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[open_channel] funding_amount:0xfffffffffffffffffffffffffffffff with udt ,will cause endless cycle #346

Open
gpBlockchain opened this issue Nov 26, 2024 · 0 comments
Assignees

Comments

@gpBlockchain
Copy link
Contributor

curl --location 'http://127.0.0.1:8228' --header 'Content-Type: application/json' --data '{
    "id": 42,
    "jsonrpc": "2.0",
    "method": "open_channel",
    "params": [
        {
            "peer_id": "Qmc7du3p7MeDHYB5gktywfc5bfg2LCST7R5nbjmfKZThad",
            "funding_amount": "0xfffffffffffffffffffffffffffffff",
            "public": true,
            "funding_udt_type_script": {
                "code_hash": "0xbb4469004225b39e983929db71fe2253cba1d49a76223e9e1d212cdca1f79f28",
                "hash_type": "type",
                "args": "0x32e555f3ff8e135cece1351a6a2971518392c1e30375c1e006ad0ce8eac07947"
            }
        }
    ]
}'
response:
{"jsonrpc": "2.0", "result": {"temporary_channel_id": "0xce2b12243f3c28f3c23281b6f0a9a8ea9106b4fa4c0d91baced1e4305380381d"}, "id": 42}

build tx log
image
log:
debug.log

@doitian doitian self-assigned this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants