Closed zyd82 closed 3 years ago
已修复,下一个版本验证
v0.5.3-dev-20201229-549e506fdf4556bc9bfd675559fd201421bd3036版本验证通过。
{
"error": {
"count": 1,
"description": "The compound error.",
"information": "1 errors"
},
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"error": {
"description": "The transaction is ill-formed.",
"information": "flags must be integer type",
"message": {
"decimals": "12",
"flags": "65536",
"from": "jPdx7mG595P6CowtGYbxRkik9HdWUWtB2J",
"local": true,
"name": "slkjgs",
"symbol": "AAT30",
"total_supply": "9.0123456789/AAT30",
"type": "IssueCoin"
}
},
"status": -278,
"type": "temINVALID"
}
],
"status": 1000,
"type": "tedCOMPOUND"
}
版本:v0.5.3-dev-20201216-be83b3f3cf9773881eb5fcf277e9b9afe8caaa8c 用例编号:jt_sendTransaction_000350
目前发行可增发代币时,flags既可以是数字65536,也可以是字符串"65536"。但是如果用"65536"发行代币,后续无法增发该代币,用65536就没有问题。因此建议让flags参数只支持数字格式,不支持字符串格式。
flags用"65536"发行代币时,如果增发该代币,会返回如下错误: