caivega / ipfslib

Other
2 stars 1 forks source link

S3 - jt_createWallet,当参数为空时,结果出错。 #127

Closed foreso-GitHub closed 3 years ago

foreso-GitHub commented 3 years ago

jt_createWallet,当参数为空时,结果出错。 按照文档,此时应该生成默认为ECDSA的帐户。https://github.com/caivega/ipfslib/wiki/chain%E7%9A%84JSON_RPC%E6%89%8B%E5%86%8C#jt_createWallet

请求:

{
    "jsonrpc": "2.0",
    "method": "jt_createWallet",
    "params": [],
    "id": 1
}

结果:

{
    "id": 1,
    "jsonrpc": "2.0",
    "message": "no key type",
    "result": "",
    "status": -269
}
caivega commented 3 years ago

已经修复,可以在下一个build验证

foreso-GitHub commented 3 years ago

版本:20201130-v0.5.3-dev已经修复。