aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/asm.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/asm.go')
-rw-r--r--core/vm/asm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/vm/asm.go b/core/vm/asm.go
index 639201e50..065d3eb97 100644
--- a/core/vm/asm.go
+++ b/core/vm/asm.go
@@ -23,6 +23,8 @@ import (
"github.com/ethereum/go-ethereum/common"
)
+// Dissassemble dissassembles the byte code and returns the string
+// representation (human readable opcodes).
func Disassemble(script []byte) (asm []string) {
pc := new(big.Int)
for {