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

Commit c57aa68a authored by tianle's avatar tianle

Merge branch 'v2.3.1_qc_fix_contract_name' into 'v2.3.1_qc' (merge request !34)

fix: err contract name --bug=0
fix: err contract name
--bug=0
parents 2196e183 6e5074d0
......@@ -17,9 +17,6 @@ import (
)
const (
_dockerGoMethodInitContract = "InitContract"
_dockerGoMethodUpgradeContract = "UpgradeContract"
_initContract = "init_contract"
_upgradeContract = "upgrade"
_invokeContract = "invoke_contract" //Compatible with version < 2.3.0
......@@ -204,7 +201,7 @@ func (h *TxHandler) handleTxRequest(msg *protogo.DockerVMMessage) error {
txResponse.WriteMap = nil
txResponse.ReadMap = nil
txResponse.Events = nil
if method == _dockerGoMethodInitContract || method == _dockerGoMethodUpgradeContract {
if method == _initContract || method == _upgradeContract {
signal.Type = protogo.DockerVMType_ERROR
}
}
......
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