Review changes.

This commit is contained in:
chriseth
2019-02-25 11:58:37 +01:00
parent d564c24f30
commit cc88c517a2
5 changed files with 21 additions and 27 deletions
@@ -132,7 +132,7 @@ u256 EVMInstructionInterpreter::eval(
case Instruction::SLT:
return u2s(arg[0]) < u2s(arg[1]) ? 1 : 0;
case Instruction::SGT:
return u2s(arg[0]) < u2s(arg[1]) ? 1 : 0;
return u2s(arg[0]) > u2s(arg[1]) ? 1 : 0;
case Instruction::EQ:
return arg[0] == arg[1] ? 1 : 0;
case Instruction::ISZERO: