aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-14 16:39:21 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-14 16:39:21 +0800
commit69bd72c6670a2fd3b5268e4ae9ca426b823b738e (patch)
tree2eaea93e5c07e4fd3bce0b433d7058ee72039ecd
parenta00d05e2bb93a21e589360b7672f62c9bc086c53 (diff)
downloaddexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar.gz
dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar.zst
dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.zip
less invalid opcode tests
-rw-r--r--createRandomTest.cpp2
1 files changed, 1 insertions, 1 deletions
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--;