From 69bd72c6670a2fd3b5268e4ae9ca426b823b738e Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Wed, 14 Jan 2015 09:39:21 +0100 Subject: less invalid opcode tests --- createRandomTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createRandomTest.cpp') diff --git a/createRandomTest.cpp b/createRandomTest.cpp index 37d61fac..a913d697 100644 --- a/createRandomTest.cpp +++ b/createRandomTest.cpp @@ -73,7 +73,7 @@ int main(int argc, char *argv[]) uint8_t opcode = randGen(); // disregard all invalid commands, except of one (0x0c) - if ((dev::eth::isValidInstruction(dev::eth::Instruction(opcode)) || (randGen() > 128))) + if ((dev::eth::isValidInstruction(dev::eth::Instruction(opcode)) || (randGen() > 250))) randomCode += toHex(toCompactBigEndian(opcode)); else i--; -- cgit