Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!
Open sidebar
白 鹿
contract-sdk-go
Commits
6e5074d0
Commit
6e5074d0
authored
Nov 21, 2022
by
gh lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: err contract name
--bug=0
parent
5d823605
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
sandbox/tx_handler.go
sandbox/tx_handler.go
+1
-4
No files found.
sandbox/tx_handler.go
View file @
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
==
_
dockerGoMethodI
nitContract
||
method
==
_
dockerGoMethodU
pgradeContract
{
if
method
==
_
i
nitContract
||
method
==
_
u
pgradeContract
{
signal
.
Type
=
protogo
.
DockerVMType_ERROR
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment