diff options
Diffstat (limited to 'core/asm/asm.go')
-rw-r--r-- | core/asm/asm.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/asm/asm.go b/core/asm/asm.go index 5fe827e7c..ce22f93f9 100644 --- a/core/asm/asm.go +++ b/core/asm/asm.go @@ -114,10 +114,7 @@ func PrintDisassembled(code string) error { fmt.Printf("%06v: %v\n", it.PC(), it.Op()) } } - if err := it.Error(); err != nil { - return err - } - return nil + return it.Error() } // Return all disassembled EVM instructions in human-readable format. |