Cleaned up Coding Contract Generation Code

This commit is contained in:
danielyxie
2018-10-27 15:48:33 -05:00
parent 004aaf93cc
commit 63ed72e645
3 changed files with 104 additions and 20 deletions

View File

@@ -248,7 +248,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
if (Math.random() < 0.2) {
arr[i] = 0; // 20% chance of being 0
} else {
arr[i] = getRandomInt(0, 24);
arr[i] = getRandomInt(0, 10);
}
}