新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit c21c7bce authored by tianle's avatar tianle

Merge branch 'v2.3.1_qc_empty_getstate' into 'v2.3.3_qc' (merge request !40)

fix: update rwset comments --bug=0
fix: update rwset comments
--bug=0
parents d1cb4e50 014ff22c
......@@ -195,6 +195,12 @@ func (h *TxHandler) handleTxRequest(msg *protogo.DockerVMMessage) error {
txResponse.Events = responseEvents
} else {
// If tx failed, we don't need to return wset and rset:
// - wset: wset is always dropped for fail
// - rset: rset can not be dropped for fail
// - from simContext: simContext already has such keys, value is not important
// - from wset: simContext don't have such keys, but it will not cause conflict for applying simContext,
// because even if other txs are written first, the read set here will eventually be dropped
txResponse.Code = protogo.DockerVMCode_FAIL
txResponse.Result = []byte(response.Message)
txResponse.Message = "Fail"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment