edit qrand

This commit is contained in:
DenioD
2020-01-05 13:20:00 +01:00
parent 3f8cec768d
commit 6c37c8669d
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ void Controller::fillTxJsonParams(json& allRecepients, Tx tx) {
unsigned int MIN_ZOUTS=8;
while (allRecepients.size() < MIN_ZOUTS) {
int decider = qrand() % ((100 + 1) - 0) + 1;// random int between 1 and 100
int decider = qrand() % ((100 + 1) - 1) + 1;// random int between 1 and 100
QString zdust1;
zdust1 = randomSietchZaddr();
QString zdust2;

View File

@@ -10683,7 +10683,7 @@ std::vector<QString> SietchShieldedPool2 = {
"zs1zzu6cnsguk5p7660ms8vmtthuv7wg3tf8uqml6m9ntwlk5c6tdzcqnpk0jmupe0mezsn7p6t8q4",
};
int decider = qrand() % ((100 + 1) - 0) + 1;// random int between 1 and 100
int decider = qrand() % ((100 + 1) - 1) + 1;// random int between 1 and 100
if (decider % 2) {
QString addr;
addr = (SietchShieldedPool[rand()% SietchShieldedPool.size()]);