Closed foreso-GitHub closed 3 years ago
IssueCoin,无法发行普通(flag=0)或者可销毁(flag=65536)的币,只能发行可增发(flag=131072)或者可增发可销毁(flag=196608)的币
请求:
{ "jsonrpc": "2.0", "method": "jt_sendTransaction", "params": [ { "from": "jHb9CJAWyB4jr91VRWn96DkukG4bwdtyTh", "secret": "snoPBjXtMeMyMHUVTgbuqAfg1SUTb", "fee": "10", "type": "IssueCoin", "name": "TestCoin_existed_4", "symbol": "TSC_102", "decimals": "8", "total_supply": "99999999", "local": true, "flags": 0 } ], "id": 1 }
结果:
{ "id": 1, "jsonrpc": "2.0", "message": { "reason": "1 errors", "result": [ { "error": "failed to submit transaction 2A1784F33E73FA290685869FB4ED4B049D695CB27E1AB2661B41E231C8A0B90F", "message": { "engine_result": "tefNO_PERMISSION_ISSUE", "engine_result_code": -175, "engine_result_message": "No permission issue.", "tx_blob": "1200012280000000240000009568400000000000000a6cd66386f269cb1f00000000000000005453435f313032000000000000b5f762798a53d543a014caf8b297cff8f2f937e873210330e7fc9d56bb25d6893ba3f317ae5bcf33b3291bd63db32654a313222f7fd02074473045022100c01c5cfd58d248be14e2efa3d53fc51c3a2a7c9bac6b5df88a646295f9ba0a9002204f83226df034598e1c302ed93705499649e610119e23e244d880524b470d95788114b5f762798a53d543a014caf8b297cff8f2f937e88214b5f762798a53d543a014caf8b297cff8f2f937e8911254657374436f696e5f657869737465645f34041008", "tx_json": { "TransactionType": "IssueCoin", "Flags": 2147483648, "Account": "jHb9CJAWyB4jr91VRWn96DkukG4bwdtyTh", "Sequence": 149, "Fee": "10", "SigningPubKey": "0330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD020", "TxnSignature": "3045022100C01C5CFD58D248BE14E2EFA3D53FC51C3A2A7C9BAC6B5DF88A646295F9BA0A9002204F83226DF034598E1C302ED93705499649E610119E23E244D880524B470D9578", "hash": "2A1784F33E73FA290685869FB4ED4B049D695CB27E1AB2661B41E231C8A0B90F", "Name": "TestCoin_existed_4", "Decimals": 8, "TotalSupply": { "value": "99999999", "currency": "TSC_102", "issuer": "jHb9CJAWyB4jr91VRWn96DkukG4bwdtyTh" }, "Owner": "jHb9CJAWyB4jr91VRWn96DkukG4bwdtyTh" } }, "status": -278 } ] }, "result": [ "" ], "status": -278 }
已经修复,见今天版本,89558e87823961a73c9ecfef5811cca5f8750f89
在版本v0.5.3 dev-20201210-13609a6bc8b38d85f0f2e2824dae6714819b5233中验证,已经修复。
IssueCoin,无法发行普通(flag=0)或者可销毁(flag=65536)的币,只能发行可增发(flag=131072)或者可增发可销毁(flag=196608)的币
请求:
结果: