opcode: swap ROT and OLDPUSH1

Because of how stringer generates String() method, the first of them
will be used as the result.
This commit is contained in:
Evgenii Stratonikov 2020-05-20 15:52:24 +03:00
parent 646c247b31
commit 61b1722745
2 changed files with 116 additions and 116 deletions

View file

@ -86,8 +86,8 @@ const (
PICK Opcode = 0x4D
TUCK Opcode = 0x4E
SWAP Opcode = 0x50
OLDPUSH1 Opcode = 0x51 // FIXME remove #927
ROT Opcode = 0x51
OLDPUSH1 Opcode = 0x51 // FIXME remove #927
ROLL Opcode = 0x52
REVERSE3 Opcode = 0x53
REVERSE4 Opcode = 0x54