Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!
Open sidebar
白 鹿
contract-sdk-go
Commits
ebb43f72
Commit
ebb43f72
authored
Oct 28, 2022
by
gh lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: add time judgement
--bug=0
parent
65138938
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sandbox/time_statics.go
sandbox/time_statics.go
+3
-1
No files found.
sandbox/time_statics.go
View file @
ebb43f72
...
@@ -153,7 +153,9 @@ func (t *TxDuration) addSysCallDuration(duration *SysCallDuration) {
...
@@ -153,7 +153,9 @@ func (t *TxDuration) addSysCallDuration(duration *SysCallDuration) {
// EnterNextStep enter next duration tx step
// EnterNextStep enter next duration tx step
func
EnterNextStep
(
msg
*
protogo
.
DockerVMMessage
,
stepType
protogo
.
StepType
,
log
string
)
{
func
EnterNextStep
(
msg
*
protogo
.
DockerVMMessage
,
stepType
protogo
.
StepType
,
log
string
)
{
if
len
(
msg
.
StepDurations
)
==
0
{
return
}
if
stepType
!=
protogo
.
StepType_RUNTIME_PREPARE_TX_REQUEST
{
if
stepType
!=
protogo
.
StepType_RUNTIME_PREPARE_TX_REQUEST
{
endTxStep
(
msg
)
endTxStep
(
msg
)
}
}
...
...
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