diff --git a/sandbox/time_statics.go b/sandbox/time_statics.go index ff7807b6c89866bc0e6a38a890fb7533cca0644e..08d868cd63422abbde866d9a4dc8598c4c6a6805 100644 --- a/sandbox/time_statics.go +++ b/sandbox/time_statics.go @@ -153,7 +153,9 @@ func (t *TxDuration) addSysCallDuration(duration *SysCallDuration) { // EnterNextStep enter next duration tx step func EnterNextStep(msg *protogo.DockerVMMessage, stepType protogo.StepType, log string) { - + if len(msg.StepDurations) == 0 { + return + } if stepType != protogo.StepType_RUNTIME_PREPARE_TX_REQUEST { endTxStep(msg) }