From 93a7f324c06321023e2702f7989fdfad32573793 Mon Sep 17 00:00:00 2001 From: Determinant Date: Sat, 19 Sep 2020 22:27:11 -0400 Subject: apply mulit-coin universally --- core/vm/opcodes.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'core/vm/opcodes.go') diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index 99688b1..c5097f8 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -210,8 +210,8 @@ const ( const ( BALANCEMC = 0xcd - EMC = 0xce - CALLEX = 0xcf + //EMC = 0xce + CALLEX = 0xcf ) // 0xf0 range - closures. @@ -385,9 +385,9 @@ var opCodeToString = map[OpCode]string{ LOG4: "LOG4", // 0xf0 range. - CREATE: "CREATE", - CALL: "CALL", - EMC: "EMC", + CREATE: "CREATE", + CALL: "CALL", + //EMC: "EMC", CALLEX: "CALLEX", RETURN: "RETURN", CALLCODE: "CALLCODE", @@ -553,12 +553,12 @@ var stringToOp = map[string]OpCode{ "CREATE": CREATE, "CREATE2": CREATE2, "CALL": CALL, - "EMC": EMC, - "CALLEX": CALLEX, - "RETURN": RETURN, - "CALLCODE": CALLCODE, - "REVERT": REVERT, - "SELFDESTRUCT": SELFDESTRUCT, + //"EMC": EMC, + "CALLEX": CALLEX, + "RETURN": RETURN, + "CALLCODE": CALLCODE, + "REVERT": REVERT, + "SELFDESTRUCT": SELFDESTRUCT, } // StringToOp finds the opcode whose name is stored in `str`. -- cgit v1.2.3-70-g09d2