edit qrand
This commit is contained in:
@@ -102,7 +102,7 @@ void Controller::fillTxJsonParams(json& allRecepients, Tx tx) {
|
|||||||
|
|
||||||
unsigned int MIN_ZOUTS=8;
|
unsigned int MIN_ZOUTS=8;
|
||||||
while (allRecepients.size() < MIN_ZOUTS) {
|
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;
|
QString zdust1;
|
||||||
zdust1 = randomSietchZaddr();
|
zdust1 = randomSietchZaddr();
|
||||||
QString zdust2;
|
QString zdust2;
|
||||||
|
|||||||
@@ -10683,7 +10683,7 @@ std::vector<QString> SietchShieldedPool2 = {
|
|||||||
"zs1zzu6cnsguk5p7660ms8vmtthuv7wg3tf8uqml6m9ntwlk5c6tdzcqnpk0jmupe0mezsn7p6t8q4",
|
"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) {
|
if (decider % 2) {
|
||||||
QString addr;
|
QString addr;
|
||||||
addr = (SietchShieldedPool[rand()% SietchShieldedPool.size()]);
|
addr = (SietchShieldedPool[rand()% SietchShieldedPool.size()]);
|
||||||
|
|||||||
Reference in New Issue
Block a user