enlever le hasard

This commit is contained in:
2022-08-21 09:30:06 +02:00
parent 6d161b3804
commit 0bf16e3ab5
17 changed files with 161 additions and 174 deletions
+1 -1
View File
@@ -586,7 +586,7 @@ class blockchain
];
$color = $couleur;
if (($color == -1) || ($color > (count($color_tab)-1))) $color = rand(0,count($color_tab)-1);
if (($color == -1) || ($color > (count($color_tab)-1))) $color = $the_block->nonce % count($color_tab);
// Rajout des HASHES
$white = imagecolorallocate($vImage, 254, 254, 254);