diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-05-02 16:27:59 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-02 16:27:59 +0800 |
commit | a7720b592687706e4de954b7ee9e586ff21e455c (patch) | |
tree | e1c656d072d1e263fe9af114d251b65345202c76 /core/vm/opcodes.go | |
parent | 670bae4cd3e6b34d6db008b22b6f5c2afcb07e0a (diff) | |
download | go-tangerine-a7720b592687706e4de954b7ee9e586ff21e455c.tar go-tangerine-a7720b592687706e4de954b7ee9e586ff21e455c.tar.gz go-tangerine-a7720b592687706e4de954b7ee9e586ff21e455c.tar.bz2 go-tangerine-a7720b592687706e4de954b7ee9e586ff21e455c.tar.lz go-tangerine-a7720b592687706e4de954b7ee9e586ff21e455c.tar.xz go-tangerine-a7720b592687706e4de954b7ee9e586ff21e455c.tar.zst go-tangerine-a7720b592687706e4de954b7ee9e586ff21e455c.zip |
core: golint updates for this or self warning (#16633)
Diffstat (limited to 'core/vm/opcodes.go')
-rw-r--r-- | core/vm/opcodes.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index 7fe55b72f..e3568eb00 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -375,10 +375,10 @@ var opCodeToString = map[OpCode]string{ SWAP: "SWAP", } -func (o OpCode) String() string { - str := opCodeToString[o] +func (op OpCode) String() string { + str := opCodeToString[op] if len(str) == 0 { - return fmt.Sprintf("Missing opcode 0x%x", int(o)) + return fmt.Sprintf("Missing opcode 0x%x", int(op)) } return str |