Closed foreso-GitHub closed 3 years ago
已经修复,待下一个build验证
这种情况下,第二个会显示是重复提交
{
"id": 1,
"jsonrpc": "2.0",
"message":{
"reason": "1 errors",
"result":[
null,
{
"error": "failed to submit transaction 3B5482FEDE6D437DB49BD714162672996839D638CB236C2774C9187074553361",
"message":{"engine_result": "terRETRY", "engine_result_code": -99, "engine_result_message": "Retry transaction.", "tx_blob": "120000228000000024000000016140000000000003e868400000000000000a73210330e7fc9d56bb25d6893ba3f317ae5bcf33b3291bd63db32654a313222f7fd02074473045022100ca8957fbee153aa68fdc22672116be5256c6ab0ccad944ae6ebda474d776b2fe02206422b6d5f4abb7a560b4d947a56cfd3b7a1c65839d89c25e0bc85b3098b1229e8114b5f762798a53d543a014caf8b297cff8f2f937e883140e919ef4b7dbe3c9b77788a3c1b85812572d7aa0",…},
"status": -278
}
]
},
"result":[
"3B5482FEDE6D437DB49BD714162672996839D638CB236C2774C9187074553361",
""
],
"status": -278
}
如果提交的raw transaction已经进了区块,会显示如下错误信息
{
"id": 1,
"jsonrpc": "2.0",
"message":{
"reason": "2 errors",
"result":[
{
"error": "failed to submit transaction 3B5482FEDE6D437DB49BD714162672996839D638CB236C2774C9187074553361",
"message":{"engine_result": "tefALREADY", "engine_result_code": -198, "engine_result_message": "The exact transaction was already in this ledger.",…},
"status": -278
},
{
"error": "failed to submit transaction 3B5482FEDE6D437DB49BD714162672996839D638CB236C2774C9187074553361",
"message":{"engine_result": "tefALREADY", "engine_result_code": -198, "engine_result_message": "The exact transaction was already in this ledger.",…},
"status": -278
}
]
},
"result":[
"",
""
],
"status": -278
}
版本:20201114-v0.5.2-dev已经修复。
jt_sendRawTransaction,当发送多个内容一样的rawTx时,收不到response。