aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/vm/interpreter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go
index e54c72575..17edc9e33 100644
--- a/core/vm/interpreter.go
+++ b/core/vm/interpreter.go
@@ -151,7 +151,7 @@ func (in *Interpreter) Run(snapshot int, contract *Contract, input []byte) (ret
// if the op is invalid abort the process and return an error
if !operation.valid {
- return nil, fmt.Errorf("invalid opcode %x", op)
+ return nil, fmt.Errorf("invalid opcode 0x%x", int(op))
}
// validate the stack and make sure there enough stack items available