caivega / ipfslib

Other
2 stars 1 forks source link

S2 - jt_createWallet无法正确生成wallet #186

Closed foreso-GitHub closed 3 years ago

foreso-GitHub commented 3 years ago

jt_createWallet无法正确生成wallet. 版本: v0.5.4-dev-20210209-f080e8c2b57b52cabd3cef2718439ab6305d3f46 TestCase:FCJT_createWallet_000020, FCJT_createWallet_000030, FCJT_createWallet_000040

{
    "jsonrpc": "2.0",
    "method": "jt_createWallet",
    "params": [
        {
            "type": "Ed25519"
        },
        {
            "type": "ecdsa"
        },
        {
            "type": "Sm2"
        }
    ],
    "id": 1
}

{
    "error": {
        "count": 3,
        "desc": "The compound error.",
        "info": "3 errors"
    },
    "id": 1,
    "jsonrpc": "2.0",
    "result": [
        {
            "error": {
                "desc": "Malformed: bad parameter.",
                "info": "null key type"
            },
            "status": -269,
            "type": "temBAD_PARAMETER"
        },
        {
            "error": {
                "desc": "Malformed: bad parameter.",
                "info": "null key type"
            },
            "status": -269,
            "type": "temBAD_PARAMETER"
        },
        {
            "error": {
                "desc": "Malformed: bad parameter.",
                "info": "null key type"
            },
            "status": -269,
            "type": "temBAD_PARAMETER"
        }
    ],
    "status": 1000,
    "type": "tedCOMPOUND"
}
caivega commented 3 years ago

已经修复,下一个build验证

foreso-GitHub commented 3 years ago

在版本v0.6.4-dev-20210218-f79a420c94324f0e122b265a2e7be26573c78249中验证,已经修复。