Closed zyd82 closed 3 years ago
jjjjjjjjjjjjjjjjjjjjjhoLvTp, 就是0000000000000对应的帐户,全局的币实现上默认就是issuer为空,或者为零时的发的币
那这个就是work as design了,对吧?
9545验证通过,验证版本v0.5.3-dev
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"TransactionType": "IssueCoin",
"Flags": 2147483648,
"Account": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM",
"Sequence": 11,
"Fee": "10",
"SigningPubKey": "02F28E0A8D5F9959838A84AA15120959CDD678D7BDC192E8140226A23EC753C9BC",
"TxnSignature": "3045022100EB360F34FCB0A481BC7DD4C61F7A8AFA5E234FF0F9A912B500CE0F250710278502204F41E6BD71120AE1A65E2B5F5D021EE4162C2FACBDB6D8C4A6B705505E08343E",
"hash": "F77B2CC7E4F760C6CACAA7487A04E695DE4B9693D3F36CC8E0A3641BA52D4929",
"Name": "ZYDDD Token",
"Decimals": 8,
"TotalSupply": {
"value": "1000000",
"currency": "ZYDT",
"issuer": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM"
},
"Owner": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM",
"date": 660302505,
"inLedger": 9962,
"ledger_index": 9962,
"meta": {
"AffectedNodes": [
{
"ModifiedNode": {
"FinalFields": {
"Hash": "0000000000000000000000000000000000000000000000000000000000000000",
"Account": "jhCVwTcg5aYWMMdfDmwqYxBr5NMA1PDfyg",
"Sequence": 0,
"Balance": "101490"
},
"LedgerEntryType": "AccountRoot",
"PreviousFields": {
"Hash": "0000000000000000000000000000000000000000000000000000000000000000",
"Account": "jhCVwTcg5aYWMMdfDmwqYxBr5NMA1PDfyg",
"Sequence": 0,
"Balance": "101480"
}
}
},
{
"ModifiedNode": {
"FinalFields": {
"Hash": "0000000000000000000000000000000000000000000000000000000000000000",
"Account": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM",
"Sequence": 11,
"Balance": "909710"
},
"LedgerEntryType": "AccountRoot",
"PreviousFields": {
"Hash": "0000000000000000000000000000000000000000000000000000000000000000",
"Account": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM",
"Sequence": 10,
"Balance": "909720"
}
}
},
{
"CreatedNode": {
"LedgerEntryType": "AccountRoot",
"NewFields": {
"Hash": "0000000000000000000000000000000000000000000000000000000000000000",
"Account": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM",
"Sequence": 11,
"Balance": {
"value": "1000000",
"currency": "ZYDT",
"issuer": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM"
}
}
}
},
{
"CreatedNode": {
"LedgerEntryType": "CurrencyRoot",
"NewFields": {
"Hash": "0000000000000000000000000000000000000000000000000000000000000000",
"Flags": 0,
"Account": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM",
"Sequence": 1,
"Name": "ZYDDD Token",
"Decimals": 8,
"TotalSupply": {
"value": "1000000",
"currency": "ZYDT",
"issuer": "jGQ14U9BeHn6kV9eofnVsshSCxAecBawPM"
}
}
}
}
],
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
}
}
}
发送如下请求,发行带issuer的代币
9545上返回长哈希,用jt_sendRawTransaction发送该哈希,显示交易成功。通过交易哈希查询该交易,发现代币的issuer还是jjjjjjjjjjjjjjjjjjjjjhoLvTp。(jt_sendTransaction上面也有这个问题,但是之前测试jt_sendTransaction的时候这个问题并不存在。)