diff options
Diffstat (limited to 'ethvm/vm_debug.go')
-rw-r--r-- | ethvm/vm_debug.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethvm/vm_debug.go b/ethvm/vm_debug.go index 8892ed6b8..0a1e0155e 100644 --- a/ethvm/vm_debug.go +++ b/ethvm/vm_debug.go @@ -846,7 +846,7 @@ func (self *DebugVm) RunClosure(closure *Closure) (ret []byte, err error) { } } -func (self *DebugVm) Printf(format string, v ...interface{}) *DebugVm { +func (self *DebugVm) Printf(format string, v ...interface{}) VirtualMachine { if self.logTy == LogTyPretty { self.logStr += fmt.Sprintf(format, v...) } @@ -854,7 +854,7 @@ func (self *DebugVm) Printf(format string, v ...interface{}) *DebugVm { return self } -func (self *DebugVm) Endl() *DebugVm { +func (self *DebugVm) Endl() VirtualMachine { if self.logTy == LogTyPretty { vmlogger.Debugln(self.logStr) self.logStr = "" |