diff --git a/chain/vm/runtime.go b/chain/vm/runtime.go index a7e666d2fb0..cdb1720decd 100644 --- a/chain/vm/runtime.go +++ b/chain/vm/runtime.go @@ -5,6 +5,7 @@ import ( "context" "encoding/binary" "fmt" + gruntime "runtime" "time" "github.com/filecoin-project/go-address" @@ -534,7 +535,7 @@ func (rt *Runtime) chargeGasInternal(gas GasCharge, skip int) aerrors.ActorError if EnableGasTracing { var callers [10]uintptr - cout := 0 //gruntime.Callers(2+skip, callers[:]) + cout := gruntime.Callers(2+skip, callers[:]) now := build.Clock.Now() if rt.lastGasCharge != nil {