caivega / ipfslib

Other
2 stars 1 forks source link

S3 - 发行symbol为“SWT”的token,交易显示成功,但其实查询不到 #125

Closed foreso-GitHub closed 3 years ago

foreso-GitHub commented 3 years ago

发行symbol为“SWT”的token,交易显示成功,但其实查询不到。这种情况应该出错。

请求:

{
    "jsonrpc": "2.0",
    "method": "jt_sendTransaction",
    "params": [
        {
            "from": "j43x4vLAy6hW6AE3r9QqFqudmH2ajBzYm9",
            "secret": "ssPVnaMNNGpjo5b9TqARyGhMiqWZz",
            "fee": "10",
            "type": "IssueCoin",
            "name": "TestCoin_SWT_212",
            "symbol": "SWT",
            "decimals": "8",
            "total_supply": "99999996",
            "local": false,
            "flags": 0
        }
    ],
    "id": 1
}

结果:

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": [
        "EDA13F4BFD9D0CE6CD8B9FA922DAA1AF7F71DBD4CC67529EC1301262D4F34328"
    ]
}
caivega commented 3 years ago

这个昨天也发现了 后台打包交易时报错了 需要把这个验证逻辑往前放

caivega commented 3 years ago

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

foreso-GitHub commented 3 years ago

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