Pārlūkot izejas kodu

Weenier 168otc项目部署 0630
1

wesmiler 3 gadi atpakaļ
vecāks
revīzija
811c2e8f94
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      vendor/ionux/phactor/src/Point.php

+ 1 - 2
vendor/ionux/phactor/src/Point.php

@@ -160,7 +160,6 @@ trait Point
         $left  = '';
         $right = '';
 
-        $P['y'] = $P['x'];
 
         try {
             /* Left y^2 term */
@@ -278,7 +277,7 @@ trait Point
         } while ($this->randCompare($random_number));
 
         $R = ($ladder === true) ? $this->mLadder($P, $random_number) : $this->doubleAndAdd($P, $random_number);
-
+var_dump($R);
         if ($this->pointTestW($R)) {
             $Rx_hex = str_pad($this->encodeHex($R['x']), 64, "0", STR_PAD_LEFT);
             $Ry_hex = str_pad($this->encodeHex($R['y']), 64, "0", STR_PAD_LEFT);