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

Commit 014ff22c authored by gh lu's avatar gh lu

fix: update rwset comments

--bug=0
parent 4ec00c82
......@@ -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